From 5cf769b1cd1d9e76ff5f543aba8b4a15a90b7d88 Mon Sep 17 00:00:00 2001 From: fiddlosopher Date: Wed, 20 Dec 2006 00:25:54 +0000 Subject: Modified the HTML writer to add invisible anchors to each section heading. The anchors are derived form the text of the section heading as described in README. This makes it easy to insert links that jump from one part of a document to another: for example, '[back to the Introduction](#Introduction)'. git-svn-id: https://pandoc.googlecode.com/svn/trunk@246 788f1e2b-df1e-0410-8736-df70ead52e1b --- tests/writer.html | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'tests/writer.html') diff --git a/tests/writer.html b/tests/writer.html index 6fcb949ec..0661fb732 100644 --- a/tests/writer.html +++ b/tests/writer.html @@ -12,18 +12,28 @@

Pandoc Test Suite

This is a set of tests for pandoc. Most of them are adapted from John Gruber's markdown test suite.


+

Headers

+

Level 2 with an embedded link

+

Level 3 with emphasis

+

Level 4

+
Level 5
+

Level 1

+

Level 2 with emphasis

+

Level 3

with no blank line

+

Level 2

with no blank line


+

Paragraphs

Here's a regular paragraph.

In Markdown 1.0.0 and earlier. Version 8. This line turns into a list item. Because a hard-wrapped line in the middle of a paragraph looked like a list item.

@@ -31,6 +41,7 @@

There should be a hard line break
here.


+

Block Quotes

E-mail style:

@@ -79,6 +90,7 @@ here.

And a following paragraph.


+

Code Blocks

Code:

---- (should be four hyphens)
@@ -95,7 +107,9 @@ this code block is indented by one tab
 These should not be escaped:  \$ \\ \> \[ \{
 

+

Lists

+

Unordered

Asterisks tight:

+

Ordered

Tight:

    @@ -183,6 +198,7 @@ These should not be escaped: \$ \\ \> \[ \{
  1. Item 3.

+

Nested