Skip to content

Conversation

@nlopes
Copy link
Owner

@nlopes nlopes commented Jan 4, 2026

Add support for AsciiDoc index terms (issue #260):

  • Flow terms (visible): ((term)) or indexterm2:[term]
  • Concealed terms (hidden): (((term,secondary,tertiary))) or indexterm:[...]

Introduce IndexTermKind enum that makes invalid states unrepresentable:

  • Flow variant can only hold a single term (no hierarchy)
  • Concealed variant supports primary/secondary/tertiary terms

Closes #260.

nlopes added 2 commits January 4, 2026 12:24
Add support for `AsciiDoc` index terms (issue #260):
- Flow terms (visible): ((term)) or indexterm2:[term]
- Concealed terms (hidden): (((term,secondary,tertiary))) or indexterm:[...]

Introduce `IndexTermKind` enum that makes invalid states unrepresentable:
- Flow variant can only hold a single term (no hierarchy)
- Concealed variant supports primary/secondary/tertiary terms

Closes #260.
@nlopes nlopes merged commit 165426c into main Jan 4, 2026
3 checks passed
@nlopes nlopes deleted the nlopes-fix-260 branch January 4, 2026 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for index terms

1 participant