-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature(types/parser/renderer): Support for counters (#715)
This adds support for {counter:name} and {counter2:name} as attribute substitutions that reference the named counters. The existing table, image, etc. counters are not converted to use these yet, but it's likely that doing so will help once attribute substitution is supported. Note that when that work is done, care must be taken to ensure that the counter is incremented when expanded to it's literal value, not just expanded from the built-in value. This includes support for setting the start including alpha counters (English letters only, same as asciidoctor). Fixes #714
- Loading branch information
Showing
9 changed files
with
4,033 additions
and
3,424 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.