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

Markdown: Support superscript^2^ syntax #1268

Closed
Asmageddon opened this issue Mar 2, 2021 · 1 comment
Closed

Markdown: Support superscript^2^ syntax #1268

Asmageddon opened this issue Mar 2, 2021 · 1 comment
Assignees
Labels
Milestone

Comments

@Asmageddon
Copy link

E.g. something like whatever extension of Markdown reddit supports:

The world is a shabby place^16

Should become

The world is a shabby place¹⁶ (or rather, should format the characters differently, this is superscripted unicode characters that don't look great)

Also with support for the Normal text^(this is all superscript) syntax

@gsantner gsantner closed this as completed Mar 2, 2021
@gsantner
Copy link
Owner

gsantner commented Mar 2, 2021

This was already built into the app, just not enabled.

Syntax is: value^2^, not just value^2.

See https://github.com/vsch/flexmark-java/wiki/Extensions#superscript https://github.com/vsch/flexmark-java/blob/0.42/flexmark-ext-superscript/src/main/javadoc/overview.md

@gsantner gsantner self-assigned this Mar 2, 2021
@gsantner gsantner changed the title Add support for superscript syntax Markdown: Enable superscript^2^ syntax Mar 2, 2021
@gsantner gsantner changed the title Markdown: Enable superscript^2^ syntax Markdown: Support superscript^2^ syntax Mar 2, 2021
@gsantner gsantner added this to the v2.7 milestone Mar 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants