Text contained inside a raw html block (<div> or <p> for example) is
passed through untouched. You may try that.
Or if you don't want to wrap your block in raw html, take a look at
the code the does that for ideas for your own extension. The output of
the codehilite extension is also ignored in the same way. Both store
the text in the htmlStash instance attached to the Markdown class.
Make sure to mark it "safe" so it's not lost if safe_mode is on.
On Wed, Jan 11, 2012 at 8:10 AM, Ali Afshar <af...@go...> wrote:
> Hi,
>
> We have a use-case where there is some processing of the document
> occurring after the markdown conversion to html, and we are keen for
> the the markdown parser to entirely ignore a block, i.e., to pass
> through entirely untouched.
>
> Is this currently possible? If not what would be the most effective
> way to write an extension to achieve it?
>
> Thanks for your help
>
> --
> Ali Afshar | www.googplus.org/ali | Google Developer Relations
>
> ------------------------------------------------------------------------------
> Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
> infrastructure or vast IT resources to deliver seamless, secure access to
> virtual desktops. With this all-in-one solution, easily deploy virtual
> desktops for less than the cost of PCs and save 60% on VDI infrastructure
> costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
> _______________________________________________
> Python-markdown-discuss mailing list
> Pyt...@li...
> https://lists.sourceforge.net/lists/listinfo/python-markdown-discuss
--
----
\X/ /-\ `/ |_ /-\ |\|
Waylan Limberg
|