reverting to original appendix markup

The updated markup wasn't catching headings or appending the correct class to the `<ol>`