Re: double quotes & multi-line paragraphs

Posted by mojavelinux on
URL: https://discuss.asciidoctor.org/double-quotes-multi-line-paragraphs-tp3213p3226.html

On Sun, May 17, 2015 at 4:06 AM, gour [via Asciidoctor :: Discussion] <[hidden email]> wrote:

> [%hardbreaks]
> ____
> "`First phrase.
> {empty}
> Second phrase.`"
> ____

Now it's interested to note there are differences how the above snippet are
rendered by AsciiDoctor itself and Nikola & Hugo static-site-generators:

i) all three render the snippet as intended (by me):

“First phrase. Second phrase.”

but, somehow, {empty} attribute does not separate paragraphs.

Oops, I put the %hardbreaks in the wrong place. That should be:

____
[%hardbreaks]
"`First phrase.
{empty}
Second phrase.`"
____

Keep in mind that won't work with AsciiDoc Python. Also, it's still a huge hack :)
 
> If it helps you think about it better, you can use the Asciidoctor-style
> quote block.
>
> ""
> First phrase.
>
> Second phrase.
> ""

This one is interesting:

It provides separated paragraphs, but no quotes within, iow.

I didn't mean to suggest that this syntax would add quotes. Just that it helps you think about the fact that the block quote is already quoted...so a template or the CSS can understand where to place them, if that's the styling you prefer.

Cheers,

-Dan


--