Releases: getreu/tp-note
Releases · getreu/tp-note
v1.24.8
Group front-matter variables in templates Breaking configuration change. If you use custom templates, please update them: Front matter variables in templates must be preceeded with `fm.`, e.g. `fm_author` becomes `fm.fm_author`, `fm_title` becomes `fm.fm_title`, `fm_subtitle` becomes `fm.fm_subtitle` and so on.
v1.24.7
Viewer: add $$ syntax for inline formula Since the version 1.19.8 Tp-Note can render mathematical formula. So far inline formula had to be enclosed between `$ and $`. e.g. `$\alpha$`. This former syntax, is still supported, is now deprecated. The present release adds support for the standard syntax with simple $ enclosure, e.g. $\alpha$. The former syntax for display formula: ```math \alpha ``` can now be written as: $$ \alpha $$
v1.24.6
Revert migration to the `mdka` crate The reverted change was introduced in v1.24.5. Unfortunately everyday usage shows, that the `mdka` crate is not as mature as the former solution with the `fast_html2md` crate. Otherwise, no new features. The `extensions` table of the `zettel` scheme was updated. This concerns only users of the `zettel` scheme _not_ using Markdown.
v1.24.4
v1.24.3
Enhance the HTML clipboard configuration options This release extends the `html_to_markup` filter by adding a `default=` parameter in case the filter fails, its result is the empty string, or if the filter is disabled for a certain markup language with the configuration variable `extensions.1`. The `clipboard` variable is replaced by the variables `txt_clipboard` and `html_clipbaord`. They both represent the clipboard's text content. The difference is, that the `html_clipboard` carries HTML formatting along the text, while `txt_clipboard` holds the plain text only.
v1.24.2
Regression fix: repair broken Windows installer This updates the tool chain that produces the Windows installer. The `.msi` installer was broken in version 1.24.1. Minor bug fix: * Windows: do not insert double `\r\r` when input comes from both: stdin and the clipboard.
v1.24.1
Regression bug fix: no HTML in X11 clipboard, fallback to text This release fixes a regression (commit dc9fd8d) introduced with the migration to the `clipboard-rs` crate (commit b532b71) under Linux/X11: When the clipboard contains no HTML, now the plain text content is correctly used (again). Minor internal improvements: * Refactor clipboard related templates
v1.24.0
Add clipboard HTML to Markdown converter This release of adds internal clipboard HTML detection and conversion to Markdown. In earlier versions the conversion of clipboard HTML content into Markdown was performed in the Browser by the plugins _Copy Selection as Markdown_ and _Copy as Markdown_ only. Now, this conversion can be done by Tp-Note also without browser plugin. For best results browser plugins are still preferred, because in addition to the selected content, the plugins insert also a link to the displayed page. Without plugin this information must be completed by hand. Nevertheless, the internal converter does a good job with quickly copying hyperlinks into Tp-Note files.
v1.23.10
Security release for RUSTSEC-2024-0019, no new features The vulnerability RUSTSEC-2024-0019 was found in one of Tp-Note's dependencies. For those who compile Tp-Note, this is fixed by a simple `cargo update`. Nevertheless, some distributions (e.g. NixOS), refer to the exact versions in `Cargo.lock`, which motivates this new release. Internal changes and refactoring: * Build chain: migrate from Docker to Podman * Encapsulation of the clipboard related code.