Skip to content

v0.1.3

Compare
Choose a tag to compare
@tajmone tajmone released this 04 Feb 21:55
· 6 commits to master since this release

Syntax Branching

This release enables the syntax branching feature of Sublime Text 4, which greatly improves handling syntax highlighting of malformed quotes in AsciiDoc sources by gracefully recovering and this preventing documents break-up.

  • Marked/Highlight spans
  • Bold and Italic
  • Inline code (monospace)

Syntax Improvements

Thanks to @polyglot-jones for contributing syntax-highlighting support for new AsciiDoc elements and improving existing ones:

  • Attribute references (e.g. {my-attribute})
  • Typographic/curly quotes
  • Cross reference links (e.g. <<my-link, My Link text>>)
  • Ordered list items
  • Definition list items
  • Index terms (e.g. ((flow-index)) and (((index term,concealed))))
  • Bibliographic anchors (e.g. [[[book-one]]])
  • XML/SGML entities (named and numeric)
  • Callout definitions (e.g. <1> Description)
  • Characters escapes
  • Double escaping of unconstrained delimiters
  • Admonition inline labels (e.g. TIP: Did you...)

Dedicated Color Scheme

The package now ships with AsciiDoc Dark, a dedicated (dark) color scheme, tailored to cover AsciiDoc syntax scopes and designed with documentation editing in mind.

This color scheme (enabled by default) brings to life all the supported AsciiDoc elements — most of which are given ad hoc scope names which are unlikely covered by other generic schemes. Color combinations where carefully chose in order to allow keeping track of the various elements without being overwhelmed by too many color contrasts on the "page".

Build System

@polyglot-jones contributed AsciiDoc build presets targeting HTML, EPUB, and DOCX.

  • HTML Build — Assumes that Asciidoctor is installed on the system path.
  • EPUB Build — Assumes that Asciidoctor EPUB3 is also installed on the system path.
  • DOCX Build — Assumes that pandoc is also installed on the system path.