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

It doesn't work correctly with Markdown #28

Closed
MikeC-Cn opened this issue Jul 19, 2021 · 2 comments
Closed

It doesn't work correctly with Markdown #28

MikeC-Cn opened this issue Jul 19, 2021 · 2 comments
Labels
dependencies Pull requests that update a dependency file

Comments

@MikeC-Cn
Copy link

If I use $(x,y)$,it will be rendered imath[/imath],not what it should be rendered like.

@the-turk
Copy link
Owner

the-turk commented Jul 20, 2021

This happens because we're replacing $...$ or any alias delimiter with their BBCode representation ([imath]...[/imath] for this case) on the fly.

See s9e/TextFormatter#167

While the TextFormatter lib owner thinking a solution for this, you can add a blank space after first delimiter as a work-around.

@the-turk the-turk added the dependencies Pull requests that update a dependency file label Aug 29, 2021
@the-turk
Copy link
Owner

from now on we're using explicitly paired BBCodes with numeric suffix being 0. Thus, any alias delimiter will be replaced with suffixed BBCodes (like [imath:0]...[/imath:0]) on the fly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

No branches or pull requests

2 participants