I'm curious if there might be a way to use the current section number as a
prefix for ordered list numbering.
In the example above, "3.0 Responsibility" would be
and then I'd begin enumerating paragraphs with an ordered list either using
# or 'ol' and 'li' tags.
Any tricks possible to accomplish this?
I like that the section titles automatically create the TOC. I don't want
to use section markers for everything I want numbered in this manner as it
seems inappropriate to use headings for this.
I was thinking perhaps there could be some kind of magic word that injects
the current counter for the section, and it could possibly be used with the
'ol' tag's 'start' attribute to start the numbering at that of the section.
I'd like to know if anyone has tackled anything like this previously.
What I'm trying to achieve is to have in-line numbering (ala ol>li)
prefaced with the section number. Effectively prefixing the ol>li numbering
with the most recent section number.
At the moment I'm trying to figure out where in the source code the #
character is turned into h1, h2, h3 etc. Perhaps I can inject a CSS counter
in such a way that I can concatenate a section CSS counter with a list-item
recent span tag with class "mw-heading-number" so I can scrape out the HTML
contents and prepend it to my list item numbering.
Chief Technology Officer
On Wed, Apr 1, 2015 at 3:57 PM, Daniel Barrett <[hidden email]> wrote: