From: David W. <wo...@cs...> - 2008-02-21 19:33:58
|
At the moment, a list extension names is passed to Markdown(), and the Markdown class is responsible for loading them. This makes it harder to pragmatically load extensions. I have written a patch (attached) so that a list of extension modules will be passed to Markdown(). When running from the command line, extensions will be loaded as the command line arguments are parsed (through the new load_extension function). This will break the Markdown interface, though, so I haven't committed the code. What do you think? David |