Skip to content

Instantly share code, notes, and snippets.

@pinggit
Created September 5, 2012 18:28
Show Gist options
  • Save pinggit/3642051 to your computer and use it in GitHub Desktop.
Save pinggit/3642051 to your computer and use it in GitHub Desktop.
asciidoc vim as highlighter
:!asciidoc -v -b xhtml11 -f temp-asciidoc.conf "living files/vim-jtac-work.txt"
[No write since last change]
asciidoc: reading: /usr/local/etc/asciidoc/asciidoc.conf
asciidoc: reading: temp-asciidoc.conf
asciidoc: reading: /usr/local/etc/asciidoc/asciidoc.conf
asciidoc: reading: /home/ping/living files/vim-jtac-work.txt
asciidoc: reading: /usr/local/etc/asciidoc/xhtml11.conf
asciidoc: include1: /usr/local/etc/asciidoc/stylesheets/asciidoc.css
asciidoc: vim-jtac-work.txt: line 16: ifeval: "pygments"=="pygments": True
asciidoc: include1: /usr/local/etc/asciidoc/stylesheets/pygments.css
asciidoc: include1: /usr/local/etc/asciidoc/javascripts/asciidoc.js
asciidoc: reading: /usr/local/etc/asciidoc/filters/source/source-highlight-filter.conf
asciidoc: vim-jtac-work.txt: line 16: ifeval: "pygments"=="source-highlight": False
asciidoc: vim-jtac-work.txt: line 16: ifeval: "pygments"=="highlight": False
asciidoc: vim-jtac-work.txt: line 16: ifeval: "pygments"=="pygments": True
asciidoc: reading: /usr/local/etc/asciidoc/filters/code/code-filter.conf
asciidoc: reading: /usr/local/etc/asciidoc/filters/latex/latex-filter.conf
asciidoc: reading: /usr/local/etc/asciidoc/filters/music/music-filter.conf
asciidoc: reading: /usr/local/etc/asciidoc/filters/graphviz/graphviz-filter.conf
asciidoc: reading: /usr/local/etc/asciidoc/lang-en.conf
asciidoc: reading: temp-asciidoc.conf
asciidoc: writing: /home/ping/living files/vim-jtac-work.html
asciidoc: vim-jtac-work.txt: line 185: filtering: highlight-with-vim filetype=vim nonumber tabstop=8
asciidoc: vim-jtac-work.txt: line 192: filtering: highlight-with-vim filetype=vim nonumber tabstop=8
asciidoc: vim-jtac-work.txt: line 203: evaluating: {counter:example-number}
asciidoc: vim-jtac-work.txt: line 208: filtering: highlight-with-vim filetype=vim nonumber tabstop=8
asciidoc: vim-jtac-work.txt: line 287: filtering: highlight-with-vim filetype=vim nonumber tabstop=8
asciidoc: vim-jtac-work.txt: line 297: filtering: highlight-with-vim filetype=vim nonumber tabstop=8
...snipped...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment