diff options
author | Waylan Limberg <waylan.limberg@icloud.com> | 2014-08-27 14:59:40 -0400 |
---|---|---|
committer | Waylan Limberg <waylan.limberg@icloud.com> | 2014-08-27 14:59:40 -0400 |
commit | e98ac74737c1f28ec730fa5c645062e0e0d5702b (patch) | |
tree | ec4400643c52c1441c61d9fe994b574b48170006 /tests/php/extra/Tables.text | |
parent | 44e718ed82ed4c8e8e0f0fe1dbdb73d441747b19 (diff) | |
download | markdown-e98ac74737c1f28ec730fa5c645062e0e0d5702b.tar.gz markdown-e98ac74737c1f28ec730fa5c645062e0e0d5702b.tar.bz2 markdown-e98ac74737c1f28ec730fa5c645062e0e0d5702b.zip |
Allow named extensions to specify the Class Name
If you were to import the class like this:
from path.to.module import SomeExtensionClass
Then the named extension would be the string:
"path.to.module:SomeExtensionClass"
This should simplify loading extensions from the command line or
template filters -- expecially when multiple extensions are defined
in a single python module.
The docs still need updating. I'm waiting to update the docs after
implementing #335 and #336 as that will require a major refactor of
that section of the docs anyway.
Diffstat (limited to 'tests/php/extra/Tables.text')
0 files changed, 0 insertions, 0 deletions