xoofx / markdig

A fast, powerful, CommonMark compliant, extensible Markdown processor for .NET
BSD 2-Clause "Simplified" License
4.41k stars 456 forks source link

block certain components? #788

Open brduffy opened 7 months ago

brduffy commented 7 months ago

Hi, I'm currently using MarkdownTextBlock in my project and I can pretty easily prevent images in the markdown. Is there a way to accomplish that using MarkDig?

Thanks

BeneHenke commented 2 months ago

You should be able to just remove the image parser/ renderer from the pipeline.