Move location of %wiki_path% documentation.

This commit is contained in:
Hugo Hörnquist 2019-03-17 22:22:55 +01:00
parent 6f7e40ff78
commit 6f687aff52
1 changed files with 9 additions and 13 deletions

View File

@ -1475,14 +1475,6 @@ 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*
@ -2051,13 +2043,17 @@ Each template could look like: >
</html>
where
%title% is replaced by a wiki page name or by a |vimwiki-title|
%date% is replaced with the current date or by |vimwiki-date|
%root_path% is replaced by a count of ../ for pages buried in subdirs:
`%title%` is replaced by a wiki page name or by a |vimwiki-title|
`%date%` is replaced with the current date or by |vimwiki-date|
`%root_path%` is replaced by a count of ../ for pages buried in subdirs:
if you have wikilink [[dir1/dir2/dir3/my page in a subdir]] then
%root_path% is replaced by '../../../'.
`%root_path%` is replaced by '../../../'.
`%wiki_path%` Path to current wiki-file.` 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.
%content% is replaced by a wiki file content.
`%content%` is replaced by a wiki file content.
The default template will be applied to all wiki pages unless a page specifies