mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-03 21:36:36 +00:00
How can I keep some raw block when ToHtml #586
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 @newbe36524 on GitHub (Jan 25, 2023).
Question
When I do something below:
I want to keep all markdown text output to html as raw markdown string but still removing YamlFrontMatter.
E.g.
from
To
Heading is out as markdown format.
Background
I am working for a platform to parse markdown into multiple blog platforms.
One of the platforms can parse markdown as source content to create a post. So I want to keep all markdown strings but still to remove YamlFrontMatter and do something shared among other platforms.
@newbe36524 commented on GitHub (Feb 7, 2023):
In the end I decided it was a straightforward process using string operations.
So I decided to close this issue.