Skip to content

Releases: getreu/tp-note

v1.24.11

08 Dec 10:27
Compare
Choose a tag to compare
Breaking change: rename `.tpnote.toml` to `tpnote.toml`

The former marker filename was `.tpnote.toml`. As the marker file
and the configuration file `~/.config/tpnote/tpnote.toml` have the same
syntax and semantics, it is more consistent that they have the same filename.

If you have used marker files, please rename them from `.tpnote.toml` to
`tpnote.toml`.

v1.24.10

09 Nov 22:56
Compare
Choose a tag to compare
Upgrade dependencies

v1.24.9

29 Oct 19:56
Compare
Choose a tag to compare
This release improves the internal HTML to Markdown filter `html_to_m…

v1.24.8

24 Aug 06:43
Compare
Choose a tag to compare
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

16 Jul 13:26
Compare
Choose a tag to compare
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

09 Jul 12:45
Compare
Choose a tag to compare
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

21 Jun 21:33
Compare
Choose a tag to compare
Downgrade some dependencies to comply with rustc 1.77.2, no code changes

v1.24.3

20 Jun 16:42
Compare
Choose a tag to compare
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

12 Apr 10:09
Compare
Choose a tag to compare
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

11 Apr 15:56
Compare
Choose a tag to compare
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