From 6f7e40ff781994564a680f402003178e8f7f95e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Sun, 21 Oct 2018 20:50:16 +0200 Subject: [PATCH] Add short documentation for %wiki_path%. --- doc/vimwiki.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/vimwiki.txt b/doc/vimwiki.txt index fcea9eb..01e3bfd 100644 --- 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*