Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support superscripted and subscripted text #171

Merged
merged 1 commit into from
Feb 15, 2025
Merged

Conversation

max-heller
Copy link
Owner

Adds support for superscripted and subscripted text. For consistency with mdbook, these features are disabled by default and must be enabled with the output.pandoc.markdown.extensions.superscript and output.pandoc.markdown.extensions.subscript options.

This change also adds support for <sup> and <sub> HTML elements, which does not require enabling the aforementioned config options.

^This is superscripted^ ~This is subscripted~

Adds support for superscripted and subscripted text. For consistency
with mdbook, these features are disabled by default and must be enabled
with the `output.pandoc.markdown.extensions.superscript` and
`output.pandoc.markdown.extensions.subscript` options.

This change also adds support for <sup> and <sub> HTML elements, which
does not require enabling the aforementioned config options.

```markdown
^This is superscripted^ ~This is subscripted~
```
@max-heller max-heller merged commit 44ee120 into main Feb 15, 2025
18 checks passed
@max-heller max-heller deleted the super-sub branch February 15, 2025 20:45
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.

1 participant