diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-02-11 05:53:12 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-02-11 05:53:12 +0200 |
commit | 01314f53987e57c4fcb49fb86d3971bdb206857f (patch) | |
tree | 8e78e418a7e987182cc1fc1735f352817549eb1a /tests/toc/toc.html | |
parent | 471556a19e68b372155095c1b11aa568735fe867 (diff) |
Add support for ids in paragraphs, local fragment references in links
For example:
"
\h#hello|Hello Example|
See the \l{#hello Hello Example}
"
Diffstat (limited to 'tests/toc/toc.html')
-rw-r--r-- | tests/toc/toc.html | 32 |
1 files changed, 17 insertions, 15 deletions
diff --git a/tests/toc/toc.html b/tests/toc/toc.html index 383ff12..7da2f0c 100644 --- a/tests/toc/toc.html +++ b/tests/toc/toc.html @@ -28,55 +28,57 @@ </td></tr> </table> - <h1 class="preface">Preface</h1> + <h1 id="preface" class="preface">Preface</h1> <p>This document describes something awesome.</p> - <h2>About This Document</h2> + <h2 id="about-document">About This Document</h2> <p>And this document is also awesome.</p> - <h2>More Information</h2> + <h2 id="more-information">More Information</h2> <p>It is so awesome that no further information will be required.</p> - <h1 class="part">PART I</h1> + <h1 id="part1" class="part">PART I</h1> <p>Start of part one.</p> - <h1>Introduction</h1> + <h1 id="intro">Introduction</h1> <p>Beginning of the first chapter.</p> - <h2>Architecture and Workflow</h2> + <h2 id="arch-flow">Architecture and Workflow</h2> <p>Some basics.</p> - <h2>Benefits</h2> + <h2 id="benefits">Benefits</h2> <p>You will like them.</p> - <h1>Hello World</h1> + <h1 id="hello">Hello World</h1> <p>Beginning of the second chapter.</p> - <h2>Setup</h2> + <h2 id="hell-setup">Setup</h2> <p>More basics.</p> - <h2>Compiling</h2> + <h2 id="hello-compile">Compiling</h2> <p>How to build the example</p> - <h3>Compiling with GCC</h3> + <h3 id="hello-compile-gcc">Compiling with GCC</h3> - <p>GCC</p> + <p>GCC. For Clang see <a href="#hello-compile-clang">Compiling with + Clang</a>.</p> - <h3>Compiling with Clang</h3> + <h3 id="hello-compile-clang">Compiling with Clang</h3> - <p>Clang</p> + <p>Clang. For GCC see <a href="#hello-compile-gcc">Compiling with + GCC</a>.</p> - <h2>Conclusion</h2> + <h2 id="hello-conclusion">Conclusion</h2> <p>Some remarks.</p> |