From 01314f53987e57c4fcb49fb86d3971bdb206857f Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 11 Feb 2016 05:53:12 +0200 Subject: Add support for ids in paragraphs, local fragment references in links For example: " \h#hello|Hello Example| See the \l{#hello Hello Example} " --- tests/toc/toc.cli | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) (limited to 'tests/toc/toc.cli') 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. - " -- cgit v1.1