ripple / dactyl

Tools to make enterprise documentation from Markdown sources.
MIT License
69 stars 34 forks source link

Optional Numbered Headings #37

Open ryangyoung opened 5 years ago

ryangyoung commented 5 years ago

For some documents, like the Network Rulebook, we may need to use numbered headings. I believe it's possible to do this by defining counters in the CSS, as exemplified here: https://gist.githubusercontent.com/joshbode/491ad0e678d456ea8ddc/raw/0921dbce72b1602958d4c0cc4b03a30768cd2cd8/numbered_headings.md

However, since we don't want to make that the default behavior, I think we'd want to make that an optional filter.

original jira ticket: https://ripplelabs.atlassian.net/browse/DOC-895

ryangyoung commented 5 years ago

Comment from ticket from @mDuo13:

Funny thing is we already figured out how to do this for our print CSS back in the day (and then we turned it off because it was hard to read). Shouldn't be too hard to make it possible to turn on for normal viewing too