locopablo / markdownsharp

Automatically exported from code.google.com/p/markdownsharp
0 stars 0 forks source link

Allow extensions: inline patterns #32

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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:

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago

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