-
Notifications
You must be signed in to change notification settings - Fork 56
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
<details> element gets parsed incorrectly when using github flavoured markdown. #5606
Comments
What it looks like right here on github, the only authority for how github flavoured markdown should get parsed: This is a test Preamble expandimport math
print(f'pi has value {math.pi}') Lead-out As you can see, this is not supposed to render the way Typora's currently rendering it, when using github flavoured markdown. |
@abnerlee that's from 2018, well before Typora was a paid application. Time to close that one, and file a new one under "our github flavoured markdown parser has a demonstrable bug for paying users" =) |
@abnerlee can we reopen this one? Because it's not a duplicate: its far more specific than the discussion that happened there, this is about Typora not using github flavoured markdown, when you tell it you're using github flavoured markdown. This is something that should be solvable independently of the issue you marked as dupe. |
<details>
getting rendered incorrectly)Describe the bug
The
<details>
element with markdown in it, when using github flavoured markdown as markdown of choice, renders incorrectly.To Reproduce
Create a new document, switch to source code mode, and fill it with:
Then turn off source code mode and watch Typora render the content completely wrong, showing a clickable summary that expands to "nothing", and the detail's markdown converted after the details element, with a rogue
</details>
in grey at the end.Expected behavior
The markdown inside the details element should get converted just like markdown in any other block context, and the details element should get rendered as a clickable summary, expanding to reveal the converted markdown's content.
Screenshots / Screencasts
Expected result:
Expected expanded result:
Actual result:
Sample Markdown File
See above
Desktop (please complete the following information):
Typora Version
1.4.8
The text was updated successfully, but these errors were encountered: