branch: elpa/adoc-mode
commit ba362d87d5970fa2c3287d46950063b2b686179c
Author: Bozhidar Batsov <[email protected]>
Commit: Bozhidar Batsov <[email protected]>
Release 0.9.0
---
CHANGELOG.md | 3 +++
adoc-mode.el | 6 +++---
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2e477c0419..259e2de1ac 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,8 @@
## main (unreleased)
+## 0.9.0 (2026-06-02)
+
### New features
- Recognise the modern curved-quote syntax `"`text`"` (double) and `'`text`'`
(single). The delimiters are de-emphasised and the enclosed text is shown as
normal text; previously the inner backticks were mis-highlighted as inline
monospace.
@@ -38,6 +40,7 @@
### Bugs fixed
+- [#65](https://github.com/bbatsov/adoc-mode/issues/65): Image previews now
resolve attribute references in the image path (e.g. `image:{my-badge}[]`)
against the document's `:name: value` attribute entries before displaying the
image.
- `+text+` and `++text++` are no longer highlighted as monospace. In modern
AsciiDoc the backtick is the only monospace delimiter; the single and double
plus are *inline passthroughs* (constrained and unconstrained), rendered as
normal text with inline formatting suppressed. They are now fontified as
passthroughs - the delimiters are de-emphasised and the enclosed text keeps the
default face with formatting suppressed - rather than reusing the monospace
face left over from the old AsciiD [...]
- Recognize level-5 section titles (`====== Title`). Previously
`adoc-title-max-level` was off by one, so the deepest heading level supported
by AsciiDoc was treated as ordinary text. Title promotion/demotion now cycles
through all six one-line levels and the five two-line levels independently.
diff --git a/adoc-mode.el b/adoc-mode.el
index bf4d4715a3..5359ab6636 100644
--- a/adoc-mode.el
+++ b/adoc-mode.el
@@ -7,7 +7,7 @@
;; Author: Florian Kaufmann <[email protected]>
;; URL: https://github.com/bbatsov/adoc-mode
;; Created: 2009
-;; Version: 0.8.0
+;; Version: 0.9.0
;; Package-Requires: ((emacs "28.1"))
;; Keywords: asciidoc, text
;;
@@ -49,14 +49,14 @@
(require 'adoc-mode-image)
(require 'adoc-mode-tempo)
-(defconst adoc-mode-version "0.8.0"
+(defconst adoc-mode-version "0.9.0"
"adoc mode version number.")
;;;; customization
(defgroup adoc nil "Support for editing AsciiDoc files in GNU Emacs."
:group 'text
:prefix "adoc-"
- :version "0.8.0"
+ :version "0.9.0"
:link '(url-link "https://github.com/bbatsov/adoc-mode"))
(defcustom adoc-script-raise '(-0.3 0.3)