Hi,
I'm thinking about writing an extension that would wrap content into
html5 section tags. It would split the content according to "8<" markers
(or similar), turning this:
Some content
8<
# Some Header
Some more content
8<
# Another Header
etc.
into:
<p>Some content</p>
<section>
<h1>Some Header</h1>
<p>Some more content</p>
</section>
<section>
<h1>Another Header</h1>
<p>etc.</p>
</section>
I'd like to be able to use the attr_list extension, and something like
the headerid one. I'm wondering what would be the best way to approach
this. Do you have any advices?
Thanks,
Alex
|