Releases: bbatsov/adoc-mode
Releases · bbatsov/adoc-mode
v0.8.0
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
imenuindex support (enabled by default viaadoc-imenu-create-index-function). - #29: Add
adoc-follow-thing-at-pointto follow URLs,include::macros, and xrefs (bound toC-c C-oandM-.). - 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-titlenow 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-levelcalculation for headings with extra whitespace after=. - Fix forced line break (
+) highlighting inside reserved regions. - Fix backquote/comma usage in
adoc-kw-inline-macrosotextpropsis properly substituted. - Fix duplicate
facekey inadoc-kw-delimited-blockplist. - #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-modefrom breaking section title lines. - #36: Remove
unichars.eldependency; use built-insgml-char-namesinstead. - #26: Fix
Wrong type argument: number-or-marker-pwhen 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 ofadoc-).
adoc-mode 0.7
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
imenusupport. - Associate with
.adocand.asciidocfiles automatically.
Changes
- Require Emacs 26.
- Respect
mode-require-final-newline. - #25: Remove
markup-facesdependency.
Bugs fixed
- Handle
unichars.elproperly. - Add missing quote before
adoc-reservedinadoc-kw-verbatim-paragraph-sequence. - #17: Show only titles in
imenu.