// tag::in-macro[] The text pass:[underline me] is underlined. // end::in-macro[] // tag::in-macro-sub[] The text pass:q[underline *me*] is underlined. // end::in-macro-sub[] // tag::in-macro-subs[] The text pass:q,a[underline _{docname}_] is underlined. // end::in-macro-subs[] // tag::s-macro[] The text pass:q[underline *me*] is underlined and the word "`me`" is bold. // end::s-macro[] // tag::3p[] The text +++underline me+++ is underlined. // end::3p[] // tag::b-3p-macro[] +++underline me+++ is underlined. pass:[underline me] is also underlined. // end::b-3p-macro[] // tag::tick[] This java code: `System.out.println("No *bold* here");` will appear in a monospace font but without any other text formatting. // end::tick[] // in qr // tag::plus[] Text between + characters, such as +/document/{id}+ is not substituted. However, special characters like +<+ and +>+ are still escaped. You can write `C++{plus}{plus}++` as `+{cpp}+`. If you need to reference another {pp} language, you can write it as `+SQL{pp}+`. // end::plus[] // in qr // tag::backtick-plus[] Output literal monospace text such as `+{backtick}+` or `+http://localhost:8080+` by enclosing the text in a pair of pluses surrounded by a pair backticks. // end::backtick-plus[] // tag::sub-in[] [subs=+macros] <.> ---- I better not contain *bold* or _italic_ text. pass:quotes[But I should contain *bold* text.] <.> ---- // end::sub-in[] // tag::sub-out[] [subs=+macros] ---- I better not contain *bold* or _italic_ text. pass:quotes[But I should contain *bold* text.] ---- // end::sub-out[] // tag::bl[] ++++ ++++ // end::bl[] // in qr // tag::b-bl[] ++++
Content in a passthrough block is passed to the output unprocessed. That means you can include raw HTML, like this embedded Gist:
++++ // end::b-bl[] // tag::subs-bl[] [subs=attributes] ++++ {name} image:tiger.png[] ++++ // end::subs-bl[] // tag::no-para[] [subs=normal] ++++ Normal content which is not enclosed in a paragraph. ++++ // end::no-para[] // tag::pass-style[] [pass] underline me is underlined. // end::pass-style[]