diff options
author | Waylan Limberg <waylan.limberg@icloud.com> | 2014-12-30 11:16:20 -0500 |
---|---|---|
committer | Waylan Limberg <waylan.limberg@icloud.com> | 2014-12-30 11:16:20 -0500 |
commit | 5ad00fab5d0942e8ff2b264e81db82ced75261a5 (patch) | |
tree | 2aa075f74eea920e11b925eb66bb23515fc5ddde /tests/misc/lists.html | |
parent | 52b9f8c1ea191ce9c1ae0cd485306460cb52f71b (diff) | |
download | markdown-5ad00fab5d0942e8ff2b264e81db82ced75261a5.tar.gz markdown-5ad00fab5d0942e8ff2b264e81db82ced75261a5.tar.bz2 markdown-5ad00fab5d0942e8ff2b264e81db82ced75261a5.zip |
Always add toc to Markdown Class Instance
Previously, we only added the toc attribute (md.toc) if no Marker was
found within the document. However, that has caused framworks to do things
like force insert a marker, run convert, then extract the toc from the
body of the document. This is much cleaner. And if the user wants to add
the toc to the document also, they still can.
Diffstat (limited to 'tests/misc/lists.html')
0 files changed, 0 insertions, 0 deletions