mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-03 21:36:36 +00:00
How to setup a pipeline to ignore certain markdown? #Question #439
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 @fscopel on GitHub (Mar 9, 2021).
I need to NOT render for example
[Google](http://google.com)into this<p><a href="http://google.com">Google</a></p>Instead I want to result to be
<p>[Google](http://google.com)</p>How do I go about setting up the pipeline this way?
@xoofx commented on GitHub (Mar 9, 2021):
You can try to create an extension that would remove the
LinkInlineParserpredefined in MarkdownPipelineBuilder@fscopel commented on GitHub (Mar 10, 2021):
@xoofx Thank you for pointing me in the right direction. I was able to remove it with something like this:
@MihaZupan commented on GitHub (Mar 10, 2021):
You can access the parsers on the builder, so you should be able to simplify that to
@fscopel commented on GitHub (Mar 10, 2021):
I was just about to post! I was playing around with it a bit more, and indeed the Extensions don't seem nescessary.