Search In This Website

Jumat, 25 Juli 2025

AsciiDoctor Block Content

AsciiDoctor Block Content consist of: Blockquote Block, Comment Block, Delimited Passthrough Blocks

AsciiDoctor Quoted Block (Blockquote) Example

If the quote or excerpt is more than one paragraph, place the text between delimiter lines consisting of four underscores (____).

AsciiDoctor Syntax Quote Block
[quote,attribution,citation title and information]
____
Quote or excerpt text
____

AsciiDoctor Example Quote Block
[quote,Monty Python and the Holy Grail]
____
Dennis: Come and see the violence inherent in the system. Help! Help! I'm being repressed!

King Arthur: Bloody peasant!

Dennis: Oh, what a giveaway! Did you hear that? Did you hear that, eh? That's what I'm on about! Did you see him repressing me? You saw him, Didn't you?
____

AsciiDoctor Example Quote Block Output
AsciiDoctor Example Quote Block Output


AsciiDoctor Comment Block Example

AsciiDoctor Comment Block is defined by a text that’s prefixed by one or more . 
consists of an arbitrary number of text lines bounded on either side by //// four slash delimiter lines.

//// 
A comment block.

Notice it's a delimited block.
////
or you can type AsciiDoctor Comment Block:
[comment]
--
Notice it's a comment block
--

AsciiDoctor Example Block

AsciiDoctor Block Content or AsciiDoctor Block Macro is defined by a single line that matches the block macro syntax.
The opening and closing delimiter in AsciiDoctor Block Content must match exactly, both in length and in sequence of characters.

====
Here's a sample AsciiDoc document:
====

AsciiDoctor Delimited Passthrough Block

A passthrough block is delimited by four plus signs (++++).

++++
<del>strike this</del> is marked as deleted.
++++


Bibliography

https://docs.asciidoctor.org/
https://www.adoc-studio.app/
https://www.udemy.com/

Tidak ada komentar:

Posting Komentar