./editors/tp-note, Minimalistic note taking and template system

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.25.6, Package name: tp-note-1.25.6, Maintainer: pkgsrc-users

Tp-Note is a note-taking-tool and a template system that consistently
synchronizes the notes meta-data with its filename.

If you like to keep your notes next to your files and you care about expressive
filenames, then Tp-Note might be the tool of your choice.
Tp-Note collects various information about its environment and the clipboard
and stores them in variables.
New notes are created by filling these variables in predefined and customizable
Tera-templates.

TP-Note's default templates are written in Markdown and can be easily adapted
to any other markup language if needed. After creating a new note, TP-Note
launches the system file editor (or any other of your choice, e.g. MarkText
or Typora) and connects the default web browser to Tp-Note's
internal Markdown/RestructuredText renderer and web server.


Master sites:

Filesize: 3322.402 KB

Version history: (Expand)


CVS history: (Expand)


   2025-03-30 18:56:16 by pin | Files touched by this commit (3) | Package updated
Log message:
editors/tp-note: update to 1.25.6

v1.25.6
New feature: detect multiple languages in clipboard and stdin

The template filter `get_lang` now detects multiple languages in the input
text usually provided by the clipboard and stdin. The templates have been
extended to emit the new template variable `languages:` in the header of new
note files. The variable lists all languages found in the input text.
The first language of this list is displayed as `lang:`.

v1.25.5
Minor regression fix: Format `--config-default` output correctly.

In v1.25.4 the top level configuration file variable `base_scheme` was added.
From now on, all other schemes inherit from this structure.
This release v1.25.5 updates the formatting of the configuration file generated
by the command line option `--config-default`. In the generated configuration
file all variables are commented out with `#` and shown with their default
values. To change a default value, uncomment the corresponding line(s) and
update the value. Rename the file `tpnote.toml` and place it in one of the
searched locations. To get a list of those locations type `tpnote -V`.
   2025-03-14 11:14:59 by pin | Files touched by this commit (3) | Package updated
Log message:
editors/tp-note: update to 1.25.4

Add `reStructuredText` support in templates

This release adds `reStructuredText` code to the `annotate_file_content`
template. (All other templates are markup language agnostic).

To create a new ReStructuredText note invoke Tp-Note with:

```sh
TPNOTE_EXTENSION_DEFAULT=rst tpnote
```

To make ReStructuredText the default markup language for all future new notes,
write a configuration file '`~/.config/tpnote/tpnote.toml`' with the following
content:

```toml
[base_scheme.filename]
extension_default="rst"
```

Other new features:

* Make `exporter_highlighting_css` configurable
* Make `viewer_highlighting_css` configurable

Some minor bug fixes shipped with this release:

* errorpage: display correct path to browsed doc
* Rst renderer: always `trim()` input
   2025-03-06 09:32:32 by pin | Files touched by this commit (3) | Package updated
Log message:
editors/tp-note: update to 1.25.3

Viewer: add dark mode

This release adds a dark mode to Tp-Note's viewer.
In order to activate the dark mode in Firefox go to:

    Settings -> General
    _Language and Appearance_
    _Website appearance_
    -> Select [*] "Dark"
   2025-02-12 09:13:40 by pin | Files touched by this commit (3) | Package updated
Log message:
editors/tp-note: update to 1.25.2

Improve the clipboard HTML to Markdown converter: add table conversion

New and improved features of the clipboard HTML to Markdown filter:

* Conversion of tables
* Better whitespace handling
* Extension API

This release migrates to the `html2md` crate with some patches applied.
The author of `html2md` grants to this repository the MIT license.
   2025-01-06 13:28:54 by pin | Files touched by this commit (3) | Package updated
Log message:
editors/tp-note: update to 1.25.1

Bugfix release: this release fixes a minor regression introduced with v1.25.0

The commit:

    d79a706  Centralize HTML stream tagging code

did not detect the empty clipboard properly and therefor the template
`from_clipboard` was applied in cases where `from_dir` were the right choice.
Fixed.

This release completes the new feature introduced in v1.25.0:

When you copy a chapter with its heading in your browser, Tp-Note will place
the heading in the `title:` field of the new note's YAML header.

Technical details: A new filter `html_heading` used in the
`from_clipboard_content` template extracts the first HTML heading in the HTML
clipboard.
   2025-01-05 15:49:40 by pin | Files touched by this commit (3) | Package updated
Log message:
editors/tp-note: update to 1.25.0

New feature: detect the first heading in the HTML clipboard

A new filter `html_heading` used in the `from_clipboard_content` template
extracts the first HTML heading in the HTML clipboard. When you copy a chapter
with a heading in your browser, Tp-Note will place this heading in the `title:`
field of the new note's YAML header.
   2024-12-27 09:21:09 by Thomas Klausner | Files touched by this commit (1055)
Log message:
*: recursive bump for pango requiring fontconfig 2.15
   2024-12-25 22:43:37 by pin | Files touched by this commit (3) | Package updated
Log message:
editors/tp-note: update tp 1.24.12

Maintenance release: replace HTML to Markdown library

This maintenance release migrates to the `htmd` library used by
Tp-Note's internal HTML to Markdown clipboard filter to improve stability.