From ff85b22fb4a14ec0e67abe70a00e9681b55d88db Mon Sep 17 00:00:00 2001 From: Thomas Lambert Date: Mon, 14 Nov 2022 20:44:09 +0100 Subject: [PATCH] doc: improve link_notation for aliases --- README.md | 4 +++- doc/telekasten.txt | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2adc171..f7054bf 100644 --- a/README.md +++ b/README.md @@ -478,7 +478,7 @@ END | `media_previewer` | how to preview media files | default: `telescope-media-files` | || - `telescope-media-files` if you have telescope-media-files.nvim installed | || - `catimg-previewer` if you have catimg installed | -| `follow_url_fallback ` | A customizable fallback handler for urls. | default: `nil` | +| `follow_url_fallback` | A customizable fallback handler for urls. | default: `nil` | The calendar support has its own options, contained in `calendar_opts`: @@ -710,6 +710,8 @@ The following links are supported: named 'A cool title' - [[A cool title#^xxxxxxxx]] ....... links to the paragraph with id ^xxxxxxxx within the note named 'A cool title' +- [[201705061300|A cool title]] ..... links to the note named `201705061300` but shows the link as + `A cool title` if `conceallevel=2` - [[#Heading 27]] .................. links to the heading 'Heading 27' within all notes - [[#^xxxxxxxx]] ................... links to the paragraph with id ^xxxxxxxx within all notes diff --git a/doc/telekasten.txt b/doc/telekasten.txt index df2dea6..a87a462 100644 --- a/doc/telekasten.txt +++ b/doc/telekasten.txt @@ -744,6 +744,10 @@ Note links~ `[[A cool title#^xxxxxxxx]]` ....... links to the paragraph with id ^xxxxxxxx within the note named 'A cool title' +`[[201705061300|A cool title]]` ..... links to the note named `201705061300` but + shows the link as `A cool title` if + `conceallevel=2` + `[[A cool title|xxxxxxxx]]` ........ links note 'A cool title' with using name.