AsciiDoc support for Visual Studio Code using AsciiDoctor
Clone or download
MatteoCampinoti94 Merge pull request #158 from Dimeiza/documentpath_synchronize_active_…
…editor

To fix a problem when preview multiple files in multiple folders with plantuml
Latest commit 3a405f7 Jan 21, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode settings - add all asciidoc extension settings to workspace Jan 16, 2019
doc Added plantuml support Dec 1, 2018
images Git release only for 1.0.99 == 2.0.0 preview1 Nov 16, 2018
media styles - beautify disabled .css block Jan 16, 2019
preview-src Broken links on diagrams in preview (asciidoc.use_asciidoctor_js: fal… Dec 8, 2018
script Run through the arguments directly instead of using an array Dec 3, 2018
snippets snippets - add : to attributes prefixes Jan 16, 2019
src fix:synchronize the documentpath with the file opened in the active e… Jan 17, 2019
syntaxes syntax - fix duplicate keys Jan 17, 2019
test samples - don't track playground file Dec 13, 2018
wkhtmltopdf-bin Merge webview into master Nov 28, 2018
.gitignore samples - don't track playground file Dec 13, 2018
.vscodeignore Git release only for 1.0.99 == 2.0.0 preview1 Nov 16, 2018
CHANGELOG.md version - update to version 2.3.2 Jan 17, 2019
LICENSE Imported the code from /extensions/markdown-language-features Nov 8, 2018
README.md readme - add information about script/build under "## How to build ..." Dec 13, 2018
ROADMAP.ad Repo setup for the webview api change Nov 8, 2018
asciidoc-language-configuration.json v2.0.0 release ready Nov 28, 2018
en.json Repo setup for the webview api change Nov 8, 2018
package.json version - update to version 2.3.2 Jan 17, 2019
package.nls.json Git release only for 1.0.99 == 2.0.0 preview1 Nov 16, 2018
tsconfig.json Repo setup for the webview api change Nov 8, 2018
webpack.config.js Implemented build-preview Nov 8, 2018

README.md

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)

Manual build

git clone https://github.com/asciidoctor/asciidoctor-vscode
cd asciidoctor-vscode
npm install
sudo npm install -g vsce typescript
vsce package
code --install-extension *.vsix

Build script

git clone https://github.com/asciidoctor/asciidoctor-vscode
bash ./script/build build install

The build script accepts other commands too, run bash ./script/build help for more information.

Contributors

git log --pretty="%an" | sort -u

Bart Sokol
Daniel Mulholland
Garrett D'Amore
Gigacee
Jackson C. Wiebe
João Pinto
Kevin Palmowski
Marcelo Alvim
Mark Roszko
MatteoCampinoti94
Stephen Pegoraro
Tatsunori Uchino
chriskoerner
ojn
sgn
Øyvind Hansen