hey-red / Markdown

Open source C# implementation of Markdown processor, as featured on Stack Overflow.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow extensions: inline patterns

GoogleCodeExporter opened this issue · comments

It would be nice to support extensions, like Markdown in Python does[1].

I created a patch that enables inline patterns to be added to a Markdown 
object:

    class WikiWords : IInlinePattern { /* ...  */ }

    var markdown = new MarkDown();
    markdown.ExtendWith(new WikiWords());


[1] http://www.freewisdom.org/projects/python-markdown/Writing_Extensions




Original issue reported on code.google.com by JanW.Boer on 9 Apr 2010 at 7:17

Attachments:

Thank you for the code contribution, I will be taking a look at this very soon!

Original comment by wump...@gmail.com on 3 Jul 2010 at 8:16

Original comment by wump...@gmail.com on 12 Nov 2010 at 9:04

  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect