diff options
Diffstat (limited to '')
-rw-r--r-- | t/fmt/asciidoc/StrictDelimitedBlocks.adoc | 194 |
1 files changed, 194 insertions, 0 deletions
diff --git a/t/fmt/asciidoc/StrictDelimitedBlocks.adoc b/t/fmt/asciidoc/StrictDelimitedBlocks.adoc new file mode 100644 index 0000000..2810232 --- /dev/null +++ b/t/fmt/asciidoc/StrictDelimitedBlocks.adoc @@ -0,0 +1,194 @@ +//po4a: style[,caption] +Test Delimited Blocks +===================== + +Predefined Delimited Blocks +--------------------------- + +CommentBlock + +////////////////////////// +This is a Comment block. +This is a Comment block. + + This is a Comment block. + This is a Comment block. + + - This is a Comment block. + This is a Comment block. +////////////////////////// + +PassthroughBlock + +++++++++++++++++++++++++++ +This is a Passthrough block. +This is a Passthrough block. + + This is a Passthrough block. + This is a Passthrough block. + + - This is a Passthrough block. + This is a Passthrough block. +++++++++++++++++++++++++++ + +ListingBlock + +-------------------------- +This is a Listing block. +This is a Listing block. + + This is a Listing block. + This is a Listing block. + + - This is a Listing block. + This is a Listing block. +-------------------------- + +LiteralBlock + +.......................... +This is a Literal block. +This is a Literal block. + + This is a Literal block. + This is a Literal block. + + - This is a Literal block. + This is a Literal block. +.......................... + +SidebarBlock + +************************** +This is a Sidebar block. +This is a Sidebar block. + + This is a Sidebar block. + This is a Sidebar block. + + - This is a Sidebar block. + This is a Sidebar block. +************************** + +QuoteBlock + +__________________________ +This is a Quote block. +This is a Quote block. + + This is a Quote block. + This is a Quote block. + + - This is a Quote block. + This is a Quote block. +__________________________ + + +[quote, Bertrand Russell, The World of Mathematics (1956)] +____________________________________________________________________ +A good notation has subtlety and suggestiveness which at times makes +it almost seem like a live teacher. +____________________________________________________________________ + +[verse, William Blake, from Auguries of Innocence] +__________________________________________________ +To see a world in a grain of sand, +And a heaven in a wild flower, +Hold infinity in the palm of your hand, +And eternity in an hour. +__________________________________________________ + +ExampleBlock + +========================== +This is a Example block. +This is a Example block. + + This is a Example block. + This is a Example block. + + - This is a Example block. + This is a Example block. +========================== + +.An example +===================================================================== +Qui in magna commodo, est labitur dolorum an. Est ne magna primis +adolescens. +===================================================================== + +[caption="Example 1: "] +.An example with a custom caption +===================================================================== +Qui in magna commodo, est labitur dolorum an. Est ne magna primis +adolescens. +===================================================================== + +[NOTE] +.A NOTE block +===================================================================== +Qui in magna commodo, est labitur dolorum an. Est ne magna primis +adolescens. + +. Fusce euismod commodo velit. +. Vivamus fringilla mi eu lacus. + .. Fusce euismod commodo velit. + .. Vivamus fringilla mi eu lacus. +. Donec eget arcu bibendum + nunc consequat lobortis. +===================================================================== + +Filter blocks + +~~~~~~~~~~~~~~~~~~~~~~~~~~ +This is a Filter block. +This is a Filter block. + + This is a Filter block. + This is a Filter block. + + - This is a Filter block. + This is a Filter block. +~~~~~~~~~~~~~~~~~~~~~~~~~~ + + + +////////////////////////// +test + +-------------------------- +Listing inside Comment +-------------------------- + +end of test +////////////////////////// + +++++++++++++++++++++++++++ +test + +-------------------------- +Listing inside Passthrough +-------------------------- + +end of test +++++++++++++++++++++++++++ + +-------------------------- +test + +__________________________ +QuoteBlock inside Listing +__________________________ + +end of test +-------------------------- + +---- +test + +------------------------------- +Listing inside a Listing +------------------------------- + +end of test +---- |