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

Discontinuity Between Obsidian Math Blocks and Plugin Rendering #1550

Open
Tracked by #1496
Gassandrid opened this issue Oct 29, 2024 · 0 comments
Open
Tracked by #1496

Discontinuity Between Obsidian Math Blocks and Plugin Rendering #1550

Gassandrid opened this issue Oct 29, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Gassandrid
Copy link

Describe the bug
Math blocks in obsidian are declared by using double 4 on both sides($$math$$), but when rendered these blocks are considered 'inline' blocks, unless declared with newline characters in between ($$\nmath\n$$)

To Reproduce
Create a obsidian markdown math block without newline characters between the $$ and the LaTeX

Expected behavior
Be declared as a math block regardless of newline characters, like obsidian does

Screenshots and Source
Expected Behavior(in obsdian)
Screenshot 2024-10-29 at 10 22 23 AM
Source in Obsidian
Screenshot 2024-10-29 at 10 24 13 AM

Current Behavior (outputted HTML)
Screenshot 2024-10-29 at 10 24 54 AM

Desktop (please complete the following information):

Issue persists regardless of versions that I can find

@Gassandrid Gassandrid added the bug Something isn't working label Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant