commit 6f7e40ff781994564a680f402003178e8f7f95e7 parent 28727b3971f8daa5e251e6d684942483e522fe0a Author: Hugo Hörnquist <hugo@hornquist.se> Date: Sun, 21 Oct 2018 20:50:16 +0200 Add short documentation for %wiki_path%. Diffstat:
M | doc/vimwiki.txt | | | 8 | ++++++++ |
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/doc/vimwiki.txt b/doc/vimwiki.txt @@ -1475,6 +1475,14 @@ The date of the wiki page. The value can be used in the HTML template, see If you omit the date after the placeholder, the date of the HTML conversion is used. +------------------------------------------------------------------------------ +%wiki_path% *vimwiki-path* + +The file path to the current wiki file. For example, if you are on page +a/b.wiki %wiki-path% contains "a/b.wiki". + +Mostly useful if you want to link the to raw wiki page from the rendered +version. ============================================================================== 8. Lists *vimwiki-lists*