mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-08 13:54:54 +00:00
Question: Having code blocks show in blocks #656
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Pave87 on GitHub (Feb 12, 2024).
So when working with markdown file in VS Studio or Code preview shows code blocks (~~~ and ```) as a block.
But for all I have tried with MarkDig to export this file to html it just very slightly different font and gets lost in other text.
CommonMark.org in their examples shows code block as a fenced block similar to how VS studio and Code show in their previews.
@xoofx commented on GitHub (Feb 13, 2024):
Please post the exact problem you are encountering with a proof of work/not work on https://babelmark.github.io/
@Pave87 commented on GitHub (Feb 14, 2024):
When I enter sample from my file there is prints out as expected.
But file that I get when running in my C# project prints out code differently.
Code:
@xoofx commented on GitHub (Feb 17, 2024):
I'm going to update the markdig on babelmark as the version is a bit old and will double check your case.
@xoofx commented on GitHub (Feb 18, 2024):
The markdown you posted above:
Outputs the following with Markdig:
Which is correct, so I'm not sure what are you expecting, but I don't think there ia an issue with Markdig here.