summaryrefslogtreecommitdiffstats
path: root/crates/mdman/tests/compare/expected/formatting.md
blob: 3b9f5b888106ed1840c53864d12bdb5af1e1ea1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
# formatting(1)

This is **nested _formatting_ `text`**.

## SECOND HEADING

Some text at second level.

### Third heading

Some text at third level.

#### Fourth heading

Some text at fourth level.

## Quotes and blocks.

Here are some quotes and blocks.

> This is a block quote. Ambidextrously koala apart that prudent blindly alas
> far amid dear goodness turgid so exact inside oh and alas much fanciful that
> dark on spoon-fed adequately insolent walking crud.

```
This is a code block. Groundhog watchfully sudden firefly some self-consciously hotly jeepers satanic after that this parrot this at virtuous
some mocking the leaned jeez nightingale as much mallard so because jeez
turned dear crud grizzly strenuously.

    Indented and should be unmodified.
```

    This is an indented code block. Egregiously yikes animatedly since outside beseechingly a badger hey shakily giraffe a one wow one this
    goodness regarding reindeer so astride before.

        Doubly indented

## Lists

1. Ordered list

    * Unordered list

      With a second paragraph inside it

        1. Inner ordered list

        1. Another

    * Eggs

    * Milk

        5. Don't start at one.
        6. tamarind

1. Second element

1. Third element

## Breaks

This has a\
hard break in it
and a soft one.

## Horizontal rule

This should contain a line:

---

Nice!

## Strange characters

Handles escaping for characters

.dot at the start of a line.

\fBnot really troff

Various characters \ - – — ─ │ ├ └

```
tree
└── example
    ├── salamander
    │   ├── honey
    │   └── some
    ├── fancifully
    └── trout
```

    non-breaking space.