aboutsummaryrefslogtreecommitdiff
path: root/testdata/inline_parser/macro_pass_none_test.txt
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2022-11-21 01:20:03 +0700
committerShulhan <ms@kilabit.info>2022-11-27 21:14:18 +0700
commit5c7bfc04dc3d2cd60e84c80229804fdcd615709e (patch)
tree63b9749699090421b55355d0f3e1f5c1b99875a1 /testdata/inline_parser/macro_pass_none_test.txt
parent3d1caba74842d7dd0800cd0351ddb4c47364a541 (diff)
downloadasciidoctor-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_none_test.txt')
-rw-r--r--testdata/inline_parser/macro_pass_none_test.txt29
1 files changed, 29 insertions, 0 deletions
diff --git a/testdata/inline_parser/macro_pass_none_test.txt b/testdata/inline_parser/macro_pass_none_test.txt
new file mode 100644
index 0000000..e4c1013
--- /dev/null
+++ b/testdata/inline_parser/macro_pass_none_test.txt
@@ -0,0 +1,29 @@
+
+>>> pass_none.adoc
+
+pass:[char: < > &].
+
+pass:[quote: _emphasis_, *strong*],
+pass:[`monospace`, ^superscript^, ~subscript~],
+pass:["`double curved quotes`", and '`single curved quotes`'].
+
+pass:[attributes: {meta-A}, {meta-b}, and {meta-not_exist}].
+
+pass:[replacement: (C) (R) (TM) -- ... -> => <- <= user's input].
+
+<<< pass_none.html
+
+<div class="paragraph">
+<p>char: < > &.</p>
+</div>
+<div class="paragraph">
+<p>quote: _emphasis_, *strong*,
+`monospace`, ^superscript^, ~subscript~,
+"`double curved quotes`", and '`single curved quotes`'.</p>
+</div>
+<div class="paragraph">
+<p>attributes: {meta-A}, {meta-b}, and {meta-not_exist}.</p>
+</div>
+<div class="paragraph">
+<p>replacement: (C) (R) (TM) -- ... -> => <- <= user's input.</p>
+</div>