File: line_numbers.md

package info (click to toggle)
python-mistletoe 1.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 864 kB
  • sloc: python: 5,649; sh: 66; makefile: 40
file content (37 lines) | stat: -rw-r--r-- 777 bytes parent folder | download | duplicates (2)
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
# Test document for line numbers

See test_line_numbers.py.
Every number written as inline code should match the line number of its nearest
parent block token. Same with titles of link reference definitions.

## Heading `7`

Basic paragraph.

> Block quote (with a paragraph inside)
> It's the start line that counts! `11`
> * a list inside the quote
> * with two items `14`
>
> Still the same block quote, but another paragraph `16`

1. List item `18`
2. Nested list
   * item
   * another item `21`
3. List item with a nested `22`
   > block quote `23`

| Table `25` | Columns |
| ---------- | ------- |
| ?          | ! `27`  |

Paragraph with <p>inline HTML</p> `29`

Setext
heading `31`
------------

Paragraph with [ref] to a link reference definition.

[ref]: /url (37)