Merge remote-tracking branch 'upstream/dev' into dev

This commit is contained in:
lyokha
2019-03-18 13:13:30 +03:00
5 changed files with 54 additions and 10 deletions

View File

@ -892,6 +892,12 @@ For Markdown syntax these variations are used: >
Furthermore, there are a number of words which are highlighted extra flashy:
TODO, DONE, STARTED, FIXME, FIXED, XXX.
When rendered as HTML, code blocks containing only a hash prefixed 6 digit hex
number will be colored as themselves. For example >
`#ffe119`
Becomes >
<code style='background-color:#ffe119;color:black;'>#ffe119</code>
------------------------------------------------------------------------------
5.2. Links *vimwiki-syntax-links*
@ -2064,13 +2070,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