diff options
author | John Ankarström <john@ankarstrom.se> | 2021-01-31 12:49:22 +0000 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-01-31 12:49:22 +0000 |
commit | dfb9b24814264abb429e4d289685654c469ff362 (patch) | |
tree | 9e4686fc56cfbb92ded6e514204210775da794b7 /test.html | |
parent | 2f7147aa05cbdcb8b1b2470877dffc663cb7a83e (diff) | |
download | em-dfb9b24814264abb429e4d289685654c469ff362.tar.gz |
Add index script
Index automatically adds appropriate ids to HTML headings
and prints an index of all headings on stderr (unless given the
-s, silent, option).
Diffstat (limited to 'test.html')
-rw-r--r-- | test.html | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,4 +1,7 @@ -<h1>Em example</h1> +<!DOCTYPE html> +<html> +<title>Em example</title> +<h1 id="em-example">Em example</h1> <p> This is an example of <i>em</i>. </p> @@ -11,6 +14,7 @@ Here is an asterisk at the end of a word*. <p> Here is an <i>unfinished inline formatting tag. </i></p> +<h2 id="messerschmidts-fiance">Meßerschmidts fiancé</h2> <blockquote> <p>Perhaps quotes could be regarded as lists. The paragraph goes on until a new "item" comes. @@ -57,3 +61,4 @@ definition code block with two lines </pre> +</html> |