mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-04 05:44:50 +00:00
Reverse parser #394
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 @LukeTOBrien on GitHub (Aug 7, 2020).
Hello,
I need to do this for a project I'm working on and I just thought I would ask here as I know you guys are helpful and in the chance that there might be a way.
I would like to take an HTML string and convert that string to Markdown.
For eg:
<h3>Heading</h3>to### HeadingOr more complex:
to
Can you think of a way to achieve this?
I was going to do it manually using string manipulation.
Thanks
Luke
@MihaZupan commented on GitHub (Aug 7, 2020):
This is effectively a dupe of #91, see Alexandre's response there https://github.com/lunet-io/markdig/issues/91#issuecomment-277191539
@LukeTOBrien commented on GitHub (Aug 8, 2020):
Thanks,
I never heard of AngleSharp, I am using HtmlAgilityPack inn my project... I will see what I can do