This commit is contained in:
Kovid Goyal 2014-11-21 18:45:20 +05:30
parent 80ed173b44
commit 6080316bd9

View File

@ -144,7 +144,7 @@ Auto create a Table of Contents
Finally, lets try something a little more ambitious. Suppose your book has
headings in ``h1`` and ``h2`` tags that look like
``<h1 id="someif">Some Text</h1>``. We will auto-generate an HTML Table of
``<h1 id="someid">Some Text</h1>``. We will auto-generate an HTML Table of
Contents based on these headings. Create the custom function below:
.. code-block:: python