WikiLink aliases (#181)

* Added ability to remove link alias

* Added spaces regex 'note | alias' will be displayed correctly.

* show_backlinks

* find_friends

* Fixed simple link processing

* updated style

hide link body when it's aliased

* Review fix

* syntax review fix

* more fixeS

* Documentation

* format fix

* Added documentation
This commit is contained in:
Ilia Ilinykh
2022-11-14 22:34:52 +03:00
committed by GitHub
parent de4502bd55
commit 611d2923d3
3 changed files with 34 additions and 8 deletions

View File

@@ -475,10 +475,18 @@ groups:
- `tkBrackets` : the brackets surrounding the link title
- `tkHighlight` : ==highlighted== text (non-standard markdown)
- `tkTag` : well, tags
- `tkAliasedLink` : link with alias
- `tkHighlightedAliasedLink` : link with alias in `tkAliasedLink`
- `tkLinkAlias` : body of the link (left part of `[[aaa|bbb]]`)
- `tkLinkBody` : alias of the link (right part of `[[aaa|bbb]]`)
`tkHighlight`, has nothing to do with links but I added it anyway, since I like
highlighting text when taking notes.
Plugin supports wiki-link aliases: `[[value|alias]]`. These links will be
concealed to `[[alias]]` if `conceallevel=2`.
I also like the navigation buttons of the calendar to appear less prevalent, so
I redefine the `CalNavi` class as well.
@@ -736,6 +744,9 @@ Note links~
`[[A cool title#^xxxxxxxx]]` ....... links to the paragraph with id ^xxxxxxxx
within the note named 'A cool title'
`[[A cool title|xxxxxxxx]]` ........ links note 'A cool title' with using
name.
`[[#Heading 27]]` .................. links to the heading 'Heading 27' within
all notes