Source Blocks, At Top, Fits, See Next Page
<!-- Source, at top, fits.-->
<article>
<div>
<main>
<!-- This is awesome! -->
</main>
</div>
</article>
<!-- End of nested source block. -->
<!-- Source, at top, fits, with anchor. -->
<article>
<div>
<main>
<!-- This is awesome! -->
</main>
</div>
</article>
<!-- End of nested source block. -->
Title of delimited source block
/** Source, at top, fits, with anchor and title. */
const IncludeProcessor = require('./include/include-processor')
/** This is content.
* This is content.
*/
function createExtensionRegistry (Asciidoctor, callbacks) {
const registry = Asciidoctor.Extensions.create()
registry.includeProcessor(IncludeProcessor.$new(callbacks.onInclude))
return registry
}
/** This is content.
* This is content.
*/
module.exports = createExtensionRegistry
/** End of source. */
Title of delimited source block with callouts
/** Source, at top, fits, with and anchor, title, and callouts. */
const IncludeProcessor = require('./include/include-processor')
/** This is content.
* This is content.
*/
function createExtensionRegistry (Asciidoctor, callbacks) { (1)
const registry = Asciidoctor.Extensions.create()
registry.includeProcessor(IncludeProcessor.$new(callbacks.onInclude))
return registry (2)
}
/** This is content.
* This is content.
*/
module.exports = createExtensionRegistry (3)
/** End of source. */
-
Source callout 1 content. Callout content. Callout content. Callout content. Callout content. Callout content. Callout content. Callout content. Callout content. End of source callout 1.
-
Source callout 2 content. End of source callout 2.
-
Source callout 3 content for the big disco WIN! Who loves disco? We love disco! Who loves disco? We love disco! Who loves disco? We love disco! Who loves disco? We love disco! Who loves disco? We love disco! Who loves disco? We love disco! Who loves disco? We love disco! Who loves disco? We love disco! End of source callout 3.
Title of delimited source block
<!-- Source, at top, fits, with title. -->
<article>
<div>
<main>
<!-- This is awesome! -->
</main>
</div>
</article>
<!-- End of source. -->
Source, at top, fits, with nested blocks.
This is a delimited source block. More content. This is content. This is content. This is content.
[IMPORTANT]
====
Paragraph 1 of a masquerading admonition block nested in a source block. This happens when I document AsciiDoc with AsciiDoc.
[quote]
____
This is a quote block.
Oh, my, goodness! _Is this really a thing?_
This is really a thing, my friend. End of nested quote.
____
Paragraph 2 of a masquerading admonition block. End of masquerading admonition. Source block ends directly after admonition block.
====
Source, at top, fits, with an anchor and nested blocks.
This is a delimited source block. More content. This is content. This is content. This is content.
[IMPORTANT]
====
Paragraph 1 of a masquerading admonition block nested in a source block. This happens when I document AsciiDoc with AsciiDoc.
[quote]
____
This is a quote block.
Oh, my, goodness! _Is this really a thing?_
This is really a thing, my friend. End of nested quote.
____
Paragraph 2 of a masquerading admonition block. End of masquerading admonition. Source block ends directly after admonition block.
====
Title of delimited source block with nested blocks
Source, at top, fits, with an anchor, title, and nested blocks.
This is a delimited source block. More content. This is content. This is content. This is content.
[IMPORTANT]
====
Paragraph 1 of a masquerading admonition block nested in a source block. This happens when I document AsciiDoc with AsciiDoc.
[quote]
____
This is a quote block.
Oh, my, goodness! _Is this really a thing?_
This is really a thing, my friend. End of nested quote.
____
Paragraph 2 of a masquerading admonition block. End of masquerading admonition.
====
End of source.
Title of delimited source block with nested blocks
Source, at top, fits, with an anchor, title, callouts, and nested blocks.
[IMPORTANT]
====
Paragraph 1 of a masquerading admonition block nested in a source block. This happens when I document AsciiDoc with AsciiDoc. (1)
[quote]
____
This is a quote block.
Oh, my, goodness! _Is this really a thing?_
This is really a thing, my friend. (2)
End of nested quote.
____
Paragraph 2 of a masquerading admonition block. End of masquerading admonition. Source block ends directly after admonition block.
====
-
Source callout 1 content. Callout content. Callout content. Callout content. Callout content. Callout content. Callout content. Callout content. Callout content. Callout content. Callout content. Callout content. Callout content. Callout content. Callout content. Callout content. Callout content. End of source callout 1.
-
Source callout 2 content. Callout content. Callout content. Callout content. Callout content. Callout content. Callout content. End of source callout 2.
Title of delimited source block with nested blocks
Source, at top, fits, with a title and nested blocks.
This is a delimited source block. More content. This is content. This is content. This is content.
[IMPORTANT]
====
Paragraph 1 of a masquerading admonition block nested in a source block. This happens when I document AsciiDoc with AsciiDoc.
[quote]
____
This is a quote block.
Oh, my, goodness! _Is this really a thing?_
This is really a thing, my friend. End of nested quote.
____
Paragraph 2 of a masquerading admonition block. End of masquerading admonition.
====
End of source.
Literal Blocks, At Top, Fits, See Next Page
Literal, at top, fits.
A delimited literal block.
This is content.
Content that's taking a trip around, and around, and around, and around, and around, and around, and around, and around, and around, and around the proverbial block.
End of literal.
Literal, at top, fits, with anchor.
A delimited literal block.
This is content.
End of literal.
Title of a delimited literal block
Literal, at top, fits, with anchor and title.
A delimited literal block.
This is content hanging around the middle.
End of literal.
Title of a delimited literal block with callouts
Literal, at top, fits, with an anchor, title, and callouts. (1)
This is content.
Content that's taking a trip around, and around, and around, and around, and around, and around, and around, and around, and around, and around the proverbial block.
One more time for good measure. (2)
End of literal. (3)
-
Literal callout 1 content. Callout content. Callout content. Callout content. Callout content. Callout content. Callout content. Callout content. Callout content. Callout content. Callout content. Callout content. Callout content. Callout content. Callout content. Callout content. Callout content. End of literal callout 1.
-
Literal callout 2 content. Callout content. Callout content. Callout content. Callout content. What is a good measure, anyway? End of literal callout 2.
-
Literal callout 3 content. Callout content. Callout content. Callout content. Callout content. Callout content. Callout content. End of literal callout 3.
Title of delimited literal block. This title is very long. This title is very long. This title is very long. This title is very long. This title is very long. This title is very long. This title is very long. This title is very long. This title is very long. This title is very long. This title is very long. This title is very long. This title is very long. This title is very long. This title is very long. This title is very long. This title is very long. This title is very long. End of title.
Literal, at top, fits, with an anchor and long title.
This is content.
One more time for good measure.
One more time for good measure.
One more time for good measure.
Okay, that was actually three times.
End of literal.
Title of a delimited literal block
Literal, at top, fits, with a title.
This is content.
Content that's taking a trip around, and around, and around, and around, and around, and around, and around, and around, and around, and around the proverbial block.
End of literal.
Literal, at top, fits, with nested blocks.
This is content.
Content that's taking a trip around, and around, and around, and around, and around, and around, and around, and around, and around, and around the proverbial block.
----
This is a delimited listing block in a literal block.
It's getting weird in here.
****
This is a delimited sidebar block nested in a listing block that's nested in a literal block.
Now it's just awkward.
End of nested sidebar.
****
End of listing.
----
End of literal.
Literal, at top, fits, with an anchor and nested blocks.
This is content.
Content that's taking a trip around, and around, and around, and around, and around, and around, and around, and around, and around, and around the proverbial block.
----
This is a delimited listing block in a literal block.
It's getting weird in here.
****
This is a delimited sidebar block nested in a listing block that's nested in a literal block.
Now it's just awkward.
End of nested sidebar.
****
End of listing.
----
End of literal.
Title of delimited literal block with nested blocks
Literal, at top, fits, with an anchor, title, and nested blocks.
This is content.
Content that's taking a trip around, and around, and around, and around, and around, and around, and around, and around, and around, and around the proverbial block.
----
This is a delimited listing block in a literal block.
It's getting weird in here.
****
This is a delimited sidebar block nested in a listing block that's nested in a literal block.
Now it's just awkward.
End of nested sidebar.
****
End of listing.
----
End of literal.
Title of delimited literal block with callouts and nested blocks
Literal, at top, fits, with an anchor, title, callouts, and nested blocks.
This is content.
Content that's taking a trip around, and around, and around, and around, and around, and around, and around, and around, and around, and around the proverbial block. (1)
----
This is a delimited listing block in a literal block.
It's getting weird in here.
****
This is a delimited sidebar block nested in a listing block that's nested in a literal block.
Now it's just awkward. (2)
End of nested sidebar.
****
End of listing.
----
End of literal.
-
Literal callout 1 content. Callout content. Callout content. Callout content. Callout content. Callout content. Callout content. Callout content. Callout content. Callout content. Callout content. Callout content. Callout content. Callout content. Callout content. Callout content. Callout content. End of literal callout 1.
-
Literal callout 2 content. Callout content. Callout content. Callout content. Callout content. End of literal callout 2.
Title of delimited literal block with nested blocks
Literal, at top, fits, with a title and nested blocks.
This is content.
Content that's taking a trip around, and around, and around, and around, and around, and around, and around, and around, and around, and around the proverbial block.
----
This is a delimited listing block in a literal block.
It's getting weird in here.
****
This is a delimited sidebar block nested in a listing block that's nested in a literal block.
Now it's just awkward.
End of nested sidebar.
****
End of listing. End of literal directly after listing.
----
Quote Blocks, At Top, Fits, See Next Page
Quote, at top, fits. This is a delimited quote block.
Hello! How are you today? Do you know what a kitchen sink and an infinite loop make when baked at 350 degrees?
Are we there yet? End of quote.
Quote, at top, fits, with metadata. This is a delimited quote block with metadata.
Hello! How are you today? Do you know what a kitchen sink and an infinite loop make when baked at 350 degrees?
Are we there yet? End of quote.
— Who Said This?
When and where did they say it?
Quote, at top, fits, with an anchor. This is a delimited quote block.
Hello! How are you today? Do you know what a kitchen sink and an infinite loop make when baked at 350 degrees?
Are we there yet? End of quote.
Title of delimited quote block
Quote, at top, fits, with an anchor and title. This is a delimited quote block.
Hello! How are you today? Do you know what a kitchen sink and an infinite loop make when baked at 350 degrees?
Are we there yet? End of quote.
Title of delimited quote block
Quote, at top, fits, with a title. This is a delimited quote block.
Hello! How are you today? Do you know what a kitchen sink and an infinite loop make when baked at 350 degrees?
Are we there yet? End of quote.
Title of delimited quote block with metadata
Quote, at top, fits, with a title and metadata. This is a delimited quote block with metadata.
Hello! How are you today? Do you know what a kitchen sink and an infinite loop make when baked at 350 degrees?
Are we there yet? End of quote.
— Who Said This?
When and where did they say it?
Verse Blocks, At Top, Fits, See Next Page
Verse, at top, fits.
This is the mysterious delimited verse block.
It fades into the
fog.
ONLY TO APPEAR AGAIN!
To remind you.
That there is
always time
for a poem.
And disco.
End of verse.
Verse, at top, fits, with metadata.
This is the mysterious delimited verse block.
It fades into the
fog.
ONLY TO APPEAR AGAIN!
To remind you.
That there is
always time
for a poem.
And disco.
End of verse.
— Who wrote this?
Where and when did they write this?
Verse, at top, fits, with an anchor.
This is the mysterious delimited verse block.
It fades into the
fog.
ONLY TO APPEAR AGAIN!
To remind you.
That there is
always time
for a poem.
And disco.
End of verse.
Title of delimited verse block
Verse, at top, fits, with an anchor and title.
This is the mysterious delimited verse block.
It fades into the
fog.
ONLY TO APPEAR AGAIN!
To remind you.
That there is
always time
for a poem.
And disco.
End of verse.
Title of delimited verse block
Verse, at top, fits, with a title.
This is the mysterious delimited verse block.
It fades into the
fog.
ONLY TO APPEAR AGAIN!
To remind you.
That there is
always time
for a poem.
And disco.
End of verse.
Title of delimited verse block
Verse, at top, fits, with a title and metadata.
This is the mysterious delimited verse block.
It fades into the
fog.
ONLY TO APPEAR AGAIN!
To remind you.
That there is
always time
for a poem.
And disco.
End of verse.
— Who wrote this?
Where and when did they write this?
Block Images, At Top, Fits, See Next Page
Block image, at top, fits. pdfwidth = 50mm.
Block image, at top, fits, with an anchor. pdfwidth = 50mm.
Figure 1. This is a block image with an anchor and a title
Figure 2. This is a block image with a title
Figure 3. This is a block image with a very long title. This is content. This is content. This is content. This is content. This is content. This is content. This is content. This is content. This is content. This is content. This is content. This is content. This is content. This is content. This is bold content. This is bold content. This is bold content. This is bold content. This is content. This is content. This is content. This is content. This is content. This is content. This is content. This is content. This is content. This is content. This is content. This is content. End of title.
Block image, at top, fits, with a long title. Width = 30mm.