Releases: getreu/tp-note
Releases · getreu/tp-note
v1.7.10
v1.7.9
v1.7.8
regression fix: `\"` in title should expand to ` ` This release fixes a minor regression introduced with version v1.7.6: The bug only appeared when the title contained unusual escaped characters like `\"` or `\'`. In these cases one extra `_` had been inserted into the filename. Explanation: the `sanit()` filter did insert extra escapes like `\"` for `"`. These appeared after being sanitized as extra `_` in filenames.
v1.7.7
v1.7.6
implement a more flexible header model This release comes with some bigger internal changes: Before, TP-note knew only String variables in templates. This is Ok for most use cases, but in a more advanced scenario one wants to use `Number` data types also, allowing to do calculations in templates. With this release, Tp-Note parses all known Tera types in document (and template) headers: `Number`, `String` and `Bool` types are made available for later usage in filename templates under the same name, with the `fm_` prefix. For example, the header line `subtitle: 'My first book'` generates a variable named `fm_subtitle` with the content `My first book`. Besides, the `tmpl_copy_content` template is improved: It can now forward (copy) all incoming variables and format them. A minor improvement is, that _Tp-Note_ will always try to open the note file with some file editor, even if it encounters problems with its configuration file.
v1.7.5
corner case: rule out cyclic filename change This release adds codes to deal with the corner case, that a note has a subtitle ending with "(1)", "(2)", "(3)" .... So far this lead to filename endings that could have been confused with the copy counter tag "(n)". This release defines a new configuration variable `copy_counter_extra_separator` which inserts an extra separator (`-`) in case there could be confusion.