Skip to content

AsciiDoc support for Visual Studio Code using AsciiDoctor

License

Notifications You must be signed in to change notification settings

ojn/asciidoctor-vscode

 
 

Repository files navigation

AsciiDoc support for Visual Studio Code

Version Installs Ratings

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.

How to install

Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter:

ext install joaompinto.asciidoctor-vscode

Demo

alt

Optional

If you want to use the Ruby version of Asciidoctor you need to change the AsciiDoc.use_asciidoctor_js setting to false.

How to build and install from source (Linux)

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

Contributors

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

About

AsciiDoc support for Visual Studio Code using AsciiDoctor

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CSS 68.9%
  • TypeScript 29.7%
  • JavaScript 1.2%
  • Perl 0.2%