* issue#621: html highlighter * docs for issue#621 * removing windows support for issue#621 Co-authored-by: Tinmarino <tinmarino@gmail.com>
This commit is contained in:
@@ -3572,6 +3572,40 @@ The header level of generated links. Valid values are from 1 to 6.
|
||||
The default is 1.
|
||||
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
*g:vimwiki_listing_hl*
|
||||
|
||||
When set to 1, enables syntax highlighting in resulting HTML. Whenever a code
|
||||
block is encountered the *g:vimwiki_listing_hl_command* is invoked on the
|
||||
code block.
|
||||
|
||||
|
||||
Value Description~
|
||||
0 Do not highlight code blocks in HTML.
|
||||
1 Highlight code blocks in HTML. see *g:vimwiki_listing_hl_command*
|
||||
|
||||
Default: 0
|
||||
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
*g:vimwiki_listing_hl_command*
|
||||
|
||||
A string specifying the command for highlighting code blocks in html. The
|
||||
argument is going to be a file with an extension specified by a
|
||||
type=extension. For example, a python listing would be written like s: >
|
||||
{{{type=py
|
||||
print("hello world")
|
||||
}}}
|
||||
The argument in this case is going to be a `foo.py`. The result of the
|
||||
highlighting command is going to be enclosed in pre tags with the `type`
|
||||
attribute. >
|
||||
<pre type=py>
|
||||
%output of highlight command&
|
||||
</pre>
|
||||
|
||||
The default is 'pygmentize -f html'.
|
||||
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
*g:vimwiki_tags_header*
|
||||
|
||||
@@ -3924,6 +3958,7 @@ Contributors and their Github usernames in roughly chronological order:
|
||||
- Vinny Furia (@vinnyfuria)
|
||||
- paperbenni (@paperbenni)
|
||||
- Lily Foster (@lilyinstarlight)
|
||||
- Youssof Taha (@ysftaha)
|
||||
- Thomas Leyh (@leyhline)
|
||||
|
||||
==============================================================================
|
||||
@@ -3936,6 +3971,7 @@ http://code.google.com/p/vimwiki/issues/list. They may be accessible from
|
||||
https://github.com/vimwiki-backup/vimwiki/issues.
|
||||
|
||||
New:~
|
||||
* Issue #621: Feature request: Highlight code listings in HTML
|
||||
* Issue #290: Calendar plugin, do not sign if no wiki
|
||||
* Issue #281: Permit `\|` in tables
|
||||
* PR #1128: VimwikiGoto: Support wiki pages with spaces
|
||||
|
||||
Reference in New Issue
Block a user