about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/nix/nixos-render-docs/src/tests/sample_md.py
blob: 73a64fde8364e121b7366185cfdb652478fbc26f (plain) (blame)
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
sample1 = """\
:::: {.warning}
foo
::: {.note}
nested
:::
::::

[
  multiline
](link)

{manpage}`man(1)` reference

[some [nested]{#a} anchors]{#b}

*emph* **strong** *nesting emph **and strong** and `code`*

- wide bullet

- list

1. wide ordered

2. list

- narrow bullet
- list

1. narrow ordered
2. list

> quotes
>> with *nesting*
>>
>>     nested code block
>
> - and lists
> - ```
>   containing code
>   ```
>
> and more quote

100. list starting at 100
1. goes on

deflist
: > with a quote
  > and stuff

      code block

  ```
  fenced block
  ```

  text

more stuff in same deflist
: foo
"""