A vscode support extension that provides live preview, syntax highlighting and symbols for the AsciiDoc format.
The extension can be activated in two ways
- Toggle Preview -
ctrl+shift+v
(Mac:cmd+shift+v
) - Open Preview to the Side -
ctrl+k v
(Mac:cmd+k v
) - View symbols - go to symbol action -
ctrl+shift+o
, select a heading.
ext install joaompinto.vscode-asciidoctor
If you want to use the Ruby version of Asciidoctor you need to change the AsciiDoc.use_asciidoctor_js setting to false.
git clone https://github.com/joaompinto/vscode-asciidoctor
cd vscode-asciidoctor
npm install
sudo npm install -g vsce
vsce package
code --install-extension *.vsix
This extension is based on VS Code markdown extenstion
The render engine uses Asciidoctor.
The symbol support is based on https://github.com/jrieken/md-navigate