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

Fix inline equations with <div> tags #2

Merged
merged 1 commit into from
Aug 24, 2022
Merged

Fix inline equations with <div> tags #2

merged 1 commit into from
Aug 24, 2022

Conversation

mtanghu
Copy link
Owner

@mtanghu mtanghu commented Aug 24, 2022

Inspect element FTW! I found out that on the inline equations that weren't rendering, the text was always inside a paragraph tags (i.e. <p></p>), luckily there's a workaround to force the markdown renderer from putting text inside paragraph tags as described by this unrelated github issue simply by putting <div> tags with the text.

This solves #1, but there are still some unanswered questions about when text will be put in <p> tags (because it's not the case with ordered lists <ol>), and this is somewhat of a hacky solution.

@mtanghu mtanghu merged commit d84d3c8 into main Aug 24, 2022
@mtanghu mtanghu deleted the equations branch August 24, 2022 07:39
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

Successfully merging this pull request may close these issues.

1 participant