summaryrefslogtreecommitdiffstats
path: root/tests/test_renderers/fixtures/mock_include.md
blob: 32d779e5aaa777a9bb5145530c81c439e4e7f3ac (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
Basic Include:
.
```{include} other.md
```
.
<document source="tmpdir/test.md">
    <paragraph>
        a
        
        b
        
        c
.

Include with Front Matter (should be ignored):
.
```{include} fmatter.md
```
.
<document source="tmpdir/test.md">
    <paragraph>
        b
.

Include Literal:
.
```{include} other.md
:literal: True
```
.
<document source="tmpdir/test.md">
    <literal_block source="tmpdir/other.md" xml:space="preserve">
        a
        b
        c
.

Include Literal, line range:
.
```{include} other.md
:literal: True
:start-line: 1
:end-line: 2
```
.
<document source="tmpdir/test.md">
    <literal_block source="tmpdir/other.md" xml:space="preserve">
        b
.

Include code:
.
```{include} other.md
:code: md
```
.
<document source="tmpdir/test.md">
    <literal_block classes="code md" source="tmpdir/other.md" xml:space="preserve">
        a
        b
        c
.