diff options
| author | Shulhan <ms@kilabit.info> | 2022-11-21 01:20:03 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2022-11-27 21:14:18 +0700 |
| commit | 5c7bfc04dc3d2cd60e84c80229804fdcd615709e (patch) | |
| tree | 63b9749699090421b55355d0f3e1f5c1b99875a1 /testdata/inline_parser/macro_pass_q_test.txt | |
| parent | 3d1caba74842d7dd0800cd0351ddb4c47364a541 (diff) | |
| download | asciidoctor-go-5c7bfc04dc3d2cd60e84c80229804fdcd615709e.tar.xz | |
all: implement inline macro for passthrough ("pass:")
The inline passthrough "pass:" can be used to control the substitutions
applied to a run of text.
Ref: https://docs.asciidoctor.org/asciidoc/latest/pass/pass-macro/
Diffstat (limited to 'testdata/inline_parser/macro_pass_q_test.txt')
| -rw-r--r-- | testdata/inline_parser/macro_pass_q_test.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/testdata/inline_parser/macro_pass_q_test.txt b/testdata/inline_parser/macro_pass_q_test.txt new file mode 100644 index 0000000..067ce43 --- /dev/null +++ b/testdata/inline_parser/macro_pass_q_test.txt @@ -0,0 +1,15 @@ +Test macro pass with inline markup substitutions only. + +>>> pass_q.adoc + +pass:q[quote: _emphasis_, *strong*], +pass:q[`monospace`, ^superscript^, ~subscript~], +pass:q["`double curved quotes`", and '`single curved quotes`']. + +<<< pass_q.html + +<div class="paragraph"> +<p>quote: <em>emphasis</em>, <strong>strong</strong>, +<code>monospace</code>, <sup>superscript</sup>, <sub>subscript</sub>, +“double curved quotes”, and ‘single curved quotes’.</p> +</div> |
