diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-02-11 04:25:00 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-02-11 04:25:00 +0200 |
commit | 471556a19e68b372155095c1b11aa568735fe867 (patch) | |
tree | 04c43a70758bf9299ac5f71f72b213c0354a1e88 /tests/toc/toc.cli | |
parent | a89ee85a4b94a57e996a233c9d21679d1e1217a9 (diff) |
First part of TOC generation support (no links yet)
Currently only supported in the HTML output.
Diffstat (limited to 'tests/toc/toc.cli')
-rw-r--r-- | tests/toc/toc.cli | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/tests/toc/toc.cli b/tests/toc/toc.cli new file mode 100644 index 0000000..5e9c43a --- /dev/null +++ b/tests/toc/toc.cli @@ -0,0 +1,58 @@ +"\h1|Table of Contents|" +"\$TOC$" + +" +\h0|Preface| + +This document describes something awesome. + +\h|About This Document| + +And this document is also awesome. + +\h|More Information| + +It is so awesome that no further information will be required." + +" +\H|PART I| + +Start of part one. + +\h1|Introduction| + +Beginning of the first chapter. + +\h|Architecture and Workflow| + +Some basics. + +\h|Benefits| + +You will like them. + +\h1|Hello World| + +Beginning of the second chapter. + +\h|Setup| + +More basics. + +\h|Compiling| + +How to build the example + +\h2|Compiling with GCC| + +GCC + +\h2|Compiling with Clang| + +Clang + +\h|Conclusion| + +Some remarks. + +" |