diff options
Diffstat (limited to 'testdata/include_code_block_test.txt')
| -rw-r--r-- | testdata/include_code_block_test.txt | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/testdata/include_code_block_test.txt b/testdata/include_code_block_test.txt new file mode 100644 index 0000000..6215062 --- /dev/null +++ b/testdata/include_code_block_test.txt @@ -0,0 +1,37 @@ +Test include directive inside source code block. + +>>> case-01 + +---- +include::testdata/_includes/fragment1.adoc[] +---- + +<<< case-01 + +<div class="listingblock"> +<div class="content"> +<pre>// SPDX-FileCopyrightText: 2020 M. Shulhan <ms@kilabit.info> +// SPDX-License-Identifier: GPL-3.0-or-later +This is inside the fragment1.adoc.</pre> +</div> +</div> + +>>> case-02 + +---- +before +include::testdata/_includes/fragment1.adoc[] +after +---- + +<<< case-02 + +<div class="listingblock"> +<div class="content"> +<pre>before +// SPDX-FileCopyrightText: 2020 M. Shulhan <ms@kilabit.info> +// SPDX-License-Identifier: GPL-3.0-or-later +This is inside the fragment1.adoc. +after</pre> +</div> +</div> |
