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

Single characters in super- and subscript #695

Open
activivan opened this issue Apr 16, 2024 · 4 comments
Open

Single characters in super- and subscript #695

activivan opened this issue Apr 16, 2024 · 4 comments

Comments

@activivan
Copy link

While subscript can be achieved using ~im below~, superscript with ^up^ (as recommended in https://www.markdownguide.org/extended-syntax/#superscript) is not working.

@geoffreymcgill
Copy link
Contributor

geoffreymcgill commented Apr 16, 2024

For me, both appear to be working correctly. Here is a sample I'm testing with...

Normal ^superscript^ and ~subscript~
Screen Shot 2024-04-16 at 9 52 18 AM

@activivan
Copy link
Author

Ok, I figured it's the plus character that doesn't work, neither in subscript or superscript:

NAD^+^ or Disney~+~

grafik

@activivan activivan changed the title Superscript Single characters in super- and subscript Apr 16, 2024
@activivan
Copy link
Author

It's not only +, also +,.#&%$? don't work. - does work though

@geoffreymcgill
Copy link
Contributor

Thanks for the sample. There does appear to be an issue with the Markdown parser during that exact ^+^ scenario.

I found that if you add a space in front of the ^+^, then it does render correctly. Maybe that is at least a temp work-around for the issue.

// FAIL
NAD^+^ or Disney~+~

// PASS (add a space)
NAD ^+^ or Disney ~+~

Interestingly, using ^+^ also fails:

NAD^+^ or Disney~+~

Another work-around could be using a dagger with ^†^ instead of a +:

NAD^†^

I don't think the ^+^ is going to be a quick fix, but we will certainly look into getting this fixed for a future release.

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

No branches or pull requests

2 participants