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.cli | |
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.cli')
-rw-r--r-- | tests/toc/toc.cli | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/tests/toc/toc.cli b/tests/toc/toc.cli index 5e9c43a..cb6fd8c 100644 --- a/tests/toc/toc.cli +++ b/tests/toc/toc.cli @@ -2,57 +2,56 @@ "\$TOC$" " -\h0|Preface| +\h0#preface|Preface| This document describes something awesome. -\h|About This Document| +\h#about-document|About This Document| And this document is also awesome. -\h|More Information| +\h#more-information|More Information| It is so awesome that no further information will be required." " -\H|PART I| +\H#part1|PART I| Start of part one. -\h1|Introduction| +\h1#intro|Introduction| Beginning of the first chapter. -\h|Architecture and Workflow| +\h#arch-flow|Architecture and Workflow| Some basics. -\h|Benefits| +\h#benefits|Benefits| You will like them. -\h1|Hello World| +\h1#hello|Hello World| Beginning of the second chapter. -\h|Setup| +\h#hell-setup|Setup| More basics. -\h|Compiling| +\h#hello-compile|Compiling| How to build the example -\h2|Compiling with GCC| +\h2#hello-compile-gcc|Compiling with GCC| -GCC +GCC. For Clang see \l{#hello-compile-clang Compiling with Clang}. -\h2|Compiling with Clang| +\h2#hello-compile-clang|Compiling with Clang| -Clang +Clang. For GCC see \l{#hello-compile-gcc Compiling with GCC}. -\h|Conclusion| +\h#hello-conclusion|Conclusion| Some remarks. - " |