Skip to content

Commit 022f31d

Browse files
committed
docs(changelog): update
1 parent dee9b92 commit 022f31d

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3838

3939
### Added
4040

41+
- **Syntax highlighting for source blocks** - Code blocks with a language specified now
42+
render with syntax highlighting using syntect. Outputs inline CSS styles. Falls back
43+
to plain text when the language isn't recognized. Requires `highlighting` feature flag.
44+
- **Section numbering** - Documents with `:sectnums:` attribute now render numbered
45+
section headings (e.g., "1. Introduction", "1.1. Overview"). Respects `:secnumlevels:`
46+
to control depth of numbering.
47+
- **ToC numbering** - Table of contents entries are now numbered when `:sectnums:` is
48+
set, matching asciidoctor behavior.
4149
- Table colspan and rowspan rendering (`colspan="n"` and `rowspan="n"` attributes on `<th>`/`<td>`)
4250
- Table visual attribute support:
4351
- `frame` attribute - controls outer border (`all`, `ends`/`topbot`, `sides`, `none`)
@@ -68,6 +76,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6876
matching asciidoctor behavior. Previously, smart quotes were incorrectly applied.
6977
- HTML5 compliance: removed self-closing syntax (`<col />``<col>`, `<img />``<img>`)
7078
and deprecated `frameborder` attribute from iframes.
79+
- Callout references in source blocks now render with `<b>` tags wrapping the number
80+
instead of the entire `<i class="conum">` element, matching asciidoctor output.
7181

7282
### Changed
7383

@@ -91,6 +101,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
91101

92102
### Added
93103

104+
- **`:leveloffset:` attribute support** - Tracks leveloffset ranges during preprocessing
105+
and applies them when parsing section headings. Included files can have their heading
106+
levels adjusted relative to the including document.
107+
- **Bibliography anchor parsing** - `[[[anchor]]]` and `[[[anchor,label]]]` syntax in
108+
bibliography sections is now parsed as a distinct anchor type.
109+
- **Validation for `:secnumlevels:` and `:toclevels:`** - Parser now warns when these
110+
attributes are set to values outside the valid range (0-5 for secnumlevels, 1-5 for
111+
toclevels).
94112
- Complete cell specifier support for tables:
95113
- Colspan: `2+|` spans 2 columns
96114
- Rowspan: `.2+|` spans 2 rows
@@ -151,6 +169,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
151169
- Default table cells now treat list markers, delimited blocks, toc macros, and page
152170
breaks as literal text instead of parsing them as blocks. Only cells with the `a`
153171
(AsciiDoc) style get full block parsing, matching asciidoctor behavior.
172+
- Nested include paths are now resolved relative to the parent file's directory instead
173+
of the root document's directory. ([#317])
154174

155175
### Changed
156176

@@ -209,6 +229,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
209229
[#291]: https://github.com/nlopes/acdc/issues/291
210230
[#311]: https://github.com/nlopes/acdc/issues/311
211231
[#313]: https://github.com/nlopes/acdc/pull/313
232+
[#317]: https://github.com/nlopes/acdc/issues/317
212233

213234
## [acdc-parser-v0.1.4] - 2026-01-04
214235

0 commit comments

Comments
 (0)