An extension that provides live preview, syntax highlighting and symbols for the AsciiDoc format. The preview uses Asciidoctor.js.
Use the extension, by opening an .adoc file and then:
- 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.
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter:
ext install joaompinto.asciidoctor-vscode
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/asciidoctor-vscode
cd asciidoctor-vscode
npm install
sudo npm install -g vsce typescript
vsce package
code --install-extension *.vsix
git log --pretty="%an" | sort -u
art Sokol
chriskoerner
Daniel Mulholland
Garrett D'Amore
Gigacee
João Pinto
Kevin Palmowski
Marcelo Alvim
Mark Roszko
Øyvind Hansen
Tatsunori Uchino