Skip to content

Releases: bbatsov/adoc-mode

v0.8.0

21 Feb 10:10

Choose a tag to compare

New features

  • #21: Add support for native font-locking in code blocks.
  • #48: Add support for displaying images.
  • Add font-lock support for Asciidoctor inline macros: kbd:[], btn:[], menu:[], pass:[], stem:[], latexmath:[], asciimath:[].
  • #59: Add nested imenu index support (enabled by default via adoc-imenu-create-index-function).
  • #29: Add adoc-follow-thing-at-point to follow URLs, include:: macros, and xrefs (bound to C-c C-o and M-.).
  • Add tempo templates for role-based text decorations ([.underline]#text#, [.overline]#text#, [.line-through]#text#, [.nobreak]#text#, [.nowrap]#text#, [.pre-wrap]#text#).

Changes

  • Require Emacs 28.1.
  • adoc-enable-two-line-title now defaults to nil (Asciidoctor deprecated Setext-style titles).
  • Remove deprecated AsciiDoc backtick-apostrophe quote styles ( text'' and `text' ``), which are not supported in Asciidoctor.
  • Extract image display code into adoc-mode-image.el.
  • Extract tempo templates into adoc-mode-tempo.el.

Bugs fixed

  • #33: Address noticeable lag when typing in code blocks.
  • #39: Support spaces in the attributes of code blocks.
  • #41: Fix unconstrained monospace delimiters.
  • #49: Prevent Flyspell from generating overlays for links and alike.
  • Fix outline-level calculation for headings with extra whitespace after =.
  • Fix forced line break (+) highlighting inside reserved regions.
  • Fix backquote/comma usage in adoc-kw-inline-macro so textprops is properly substituted.
  • Fix duplicate face key in adoc-kw-delimited-block plist.
  • #57: Fix Emacs hang on escaped curly braces in attribute reference regex.
  • #54: Fix multiline font-lock for inline formatting by extending fontification region to paragraph boundaries.
  • #52: Prevent auto-fill-mode from breaking section title lines.
  • #36: Remove unichars.el dependency; use built-in sgml-char-names instead.
  • #26: Fix Wrong type argument: number-or-marker-p when calling tempo templates with a prefix argument.
  • #24: Fix table delimiter highlighting to support any number of columns (was limited to 4).
  • #9: Fix broken tempo tests and title template compatibility with lexical-binding tempo.el.
  • #62: Fix image display regex to match paths starting with . or /.
  • Fix broken menu entries for role-based text decoration templates (wrong doc- prefix instead of adoc-).

adoc-mode 0.7

09 Mar 07:12

Choose a tag to compare

This is the first adoc-mode release since I've taken over the maintenance of the package. While the release doesn't break some new ground it includes a few small fixes and takes the first steps on the long journey to modernize and simplify the mode. The long-term goal is to achieve feature parity with the excellent markdown-mode.

New features

  • Added imenu support.
  • Associate with .adoc and .asciidoc files automatically.

Changes

  • Require Emacs 26.
  • Respect mode-require-final-newline.
  • #25: Remove markup-faces dependency.

Bugs fixed

  • Handle unichars.el properly.
  • Add missing quote before adoc-reserved in adoc-kw-verbatim-paragraph-sequence.
  • #17: Show only titles in imenu.