From: Dave P. <dav...@gm...> - 2015-01-25 10:09:06
|
https://github.com/waylan/Python-Markdown/wiki/Tutorial:-Writing-Extensions-for-Python-Markdown has an example "we are inserting a new inline pattern named 'del', using our pattern instance del_tag after the pattern named "not_strong" (thus the '>not_strong')." The code is md.inlinePatterns.add('del', del_tag, '>not_strong') Questions 1. Where is this order defined please? 2. I never use ___emph__ and would like to remove it, then extend to provide __ for underscore (<u>). How to find the 'key' to use for __ emphasis please to remove this markup using del md.inlinePatterns['????'] TiA -- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ. http://www.dpawson.co.uk |