mozilla/kuma — pull request #649 by lmorchard (2012-10-10 18:21:15+00:00)
Title: 797480 sample creation insertion

This is a tweak to sample extraction that lets us use more natural section-based markup, like so:

This is a section

section html

section css

section js

Next section

This should give you a sample at a URL like:

https://developer-local.allizom.org/en-US/docs/User:lmorchard/TestCodeSamples$samples/This_is_a_section

In other words, to create a live sample:

* Create a header
* After the header, create html, js, and css code listings
* Save the page, look for the TOC link for the header
* The anchor in the TOC link maps to `$samples/{anchor ID}`