From: Waylan L. <way...@ic...> - 2014-01-30 00:07:21
|
I can't imagine how this would be useful. Isn't the point of the markdown parser to parse markdown and get html? If you want to do some preprocessing before passing your text into markdown, then my suggestion would be to do the preprocessing before passing the text into markdown. If that means reimplementing your own metadata processor, then that is probably what you should do. For instance, a static site generator may do this so it can allow the markup language of the document to be defined in the metadata. In such a situation, Python-Markdown's Metedata extension would not be the tool for the job. Waylan On 1/28/2014 7:03:37 PM, "Ian G. Jeffries" <ia...@ho...> wrote: >Hey folks, > >I'd like to use the 'meta' extension to get a Python string which >consists of the body of the post without the metadata, but otherwise >unchanged. > >I've got my own code to do this which works fine, but I was wondering >if there was a built-in option to do this that I missed. If not would >it be a good thing to have added? > >Cheers! > >Ian Jeffries |