Changelog and template docs clean
This commit is contained in:
parent
fabd785f6d
commit
cb7f00f296
@ -10,7 +10,8 @@ release.
|
||||
* Folding is here (at least with commands, not much UI): {[Fold: Fold]}, {[Fold: Unfold]}, {[Fold: Toggle Fold]}, {[Fold: Fold All]} and {[Fold: Unfold All]}.
|
||||
* {[Broken Links: Show]} command (not complete yet, but already useful)
|
||||
* The `Daily Note` template now supports setting a caret position with `|^|`.
|
||||
* Explicit {[Sync: Now]} command for those who are impatient
|
||||
* Explicit {[Sync: Now]} command, for those who are impatient
|
||||
* Tons of smaller bug fixes
|
||||
|
||||
---
|
||||
|
||||
|
@ -76,7 +76,6 @@ Currently supported (hardcoded in the code):
|
||||
- `{{escapeRegexp "hello/there"}}` to escape a regexp, useful when injecting e.g. a page name into a query — think `name =~ /{{escapeRegexp @page.name}}/`
|
||||
- `{{json @page}}` translate any (object) value to JSON, mostly useful for debugging
|
||||
- `{{relativePath @page.name}}` translate a path to a relative one (to the current page), useful when injecting page names, e.g. `{{relativePath name}}`.
|
||||
- `{{translateAbsoluteLinks "text"}}` translates all absolute page links in the argument string to relative ones.
|
||||
- `{{substring "my string" 0 3}}` performs a substring operation on the first argument, which in this example would result in `my `
|
||||
- `{{prefixLines "my string\nanother" " "}}` prefixes each line (except the first) with the given prefix.
|
||||
- `{{niceDate @page.lastModified}}` translates any timestamp into a “nice” format (e.g. `2023-06-20`).
|
||||
|
Loading…
Reference in New Issue
Block a user