Posted: Fri Mar 16, 2007 11:56 pm
This is fun! Right now, I have the following filters running on my XHTML code:
- The GenerateTableOfContents filter, which creates a table of contents based on the headings in the document
- An Acronymizer, which takes <acronym>PHP</acronym> and adds the appropriate title tag if it knows the extension.
- A Quoter, which converts <q> tags into double/single quotes, depending on whether or not they're nested.
Whee! I could probably go even further and add support for HTML5 elements, SVN changelogs, templates, LaTeX delegation, etc etc etc. This is shaping up well.
- The GenerateTableOfContents filter, which creates a table of contents based on the headings in the document
- An Acronymizer, which takes <acronym>PHP</acronym> and adds the appropriate title tag if it knows the extension.
- A Quoter, which converts <q> tags into double/single quotes, depending on whether or not they're nested.
Whee! I could probably go even further and add support for HTML5 elements, SVN changelogs, templates, LaTeX delegation, etc etc etc. This is shaping up well.