-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
reopening #27605 (Math blocks can't be directly preceded or followed by alphanumeric character) #32726
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
Comments
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Hmm, I see the misconception now. Actually #30175's title doesn't really match its test cases. So, if
The original discussion is here: #30175 (comment) And this: #30175 (comment)
|
There are various cases where you don't want spaces before or after math, for example:
There are more examples. None of this works in Gitea now; this also concerns the the OpinionDealing with Both GitLab and GitHub added a syntax that ties in beautifully with Markdown, namely
None of the problems mentioned in this and other reports exist here because it makes use of the backticks, a well-established syntax in Markdown. I've suggested adopting this syntax in Gitea as well. |
So if we support |
At least you could point anyone running into a Edit: Highlighting why the |
Yes, I also found that After " Refactor markdown math render #32831 ", the |
Indeed, unfortunately so.
Note that we'd also need |
It is already supported, right? https://demo.gitea.com/wxiaoguang/test-repo/issues/1#issuecomment-3436 |
Right! Hadn't realized that. |
Done in 1.23, let's use |
This isn't working yet in 1.23.0+dev-789-g18061af490 (on demo.gitea.com). |
Description
Unless I'm missing something, the issue #27605 has reappeared despite its fix in #30175.
MWE:
Screenshot:
This also concerns the
\(...\)
and\[...\]
syntax.Gitea Version
1.23.0+dev-753-gc5422fae9a
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
demo.gitea.com
Database
None
The text was updated successfully, but these errors were encountered: