Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Asciidoc Writing HelpersNew to Visual Studio Code? Get it now.
Asciidoc Writing Helpers

Asciidoc Writing Helpers

delfanbaum

|
854 installs
| (0) | Free
Various commands to help write, edit, and revise Asciidoctor files
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Asciidoc Writing Helpers

This VS Code extension provides a number of (hopefully useful) helper commands and keyboard shortcuts for writing, editing, and otherwise working with asciidoc text files.

Download it here: https://marketplace.visualstudio.com/items?itemName=delfanbaum.asciidoc-writing-helpers

Features

Current features include:

  • cmd/ctrl+(i/b) for toggling italic/bold markup on selected text

  • cmd/ctrl+shift+l paste link around selected text (as http://example.com[selected text])

  • Format selected text as roman (remove formatting) (asciidoc) ** Formats selected text as roman

  • ISBN dashes toggle (all languages)

    • Adds (in the right place) or removes dashes from isbn13s
  • Write out numerals 1-9 (asciidoc)

    • Takes "George steals 1 cookie from each of the 3 jars" and makes it "George steals one cookie from each of the three jars"
  • Add orm:hideurl link passthrough (asciidoc)

    • Takes an asciidoc link (https://example.com[Anchor text]) and adds the orm:hideurl class to it as a passthrough (pass:[<a href="https://example.com" class="orm:hideurl">Anchor text</a>])
  • Add 'select:labelnumber' xref passthrough (asciidoc)

    • Take an asciidoc xref (e.g., <<chapter-99>>) and adds the select:labelnumber xref-datatype attribute (e.g., pass:[<a href="#chapter-99" data-type="xref" data-xrefstyle="select:labelnumber">#chapter-99</a>])
  • Add 'chap-num-style' xref passthrough (asciidoc)

    • Take an asciidoc xref (e.g., <<chapter-99>>) and adds the chap-num-style xref-datatype attribute (e.g., pass:[<a href="#chapter-99" data-type="xref" data-xrefstyle="chap-num-title">#chapter-99</a>])
  • Add letterbreaks and passthrough to inline code (asciidoc)

    • Takes a code snippet (e.g., com.oreilly.examples.this.that) and puts it in a passthrough so you can fine-tune where it breaks across a line (e.g., pass:[<code>com.oreilly.&#x200b;examples.this.that</code>])
  • Takes a [source, lang] codeblock and rewrites it as a fenced HTML passthrough.

Known Issues

Some known issues include:

  • No tests on code
  • Documentation needs work

Release Notes

Users appreciate release notes as you update your extension.

0.1.1

Cleanup some cruft.

0.1.0

Initial public release!

0.0.1

Initial (internal) release!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft