Re: double quotes & multi-line paragraphs

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


mojavelinux [via Asciidoctor :: Discussion] <[hidden email]> writes:

> There is one way, but it's kind of a hack. You can force the paragraph to
> continue on and use hardbreaks instead actual paragraph boundaries.

Ohh, that sounds interesting...

>
> [%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.

> However, I still stand by my opinion that Markdown and reStructuredText are
> not honoring the proper semantics for this scenario. Styling quotes, which
> is what these are, should not be put into the source document. They should
> be handled either by the converter or the styling mechanism (CSS). The
> delimited block boundaries are already providing the necessary semantics.

Here I agree with you that styling should not be 'hardcoded' in the document.

> 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.

First phrase.

Second phrase.


In any case, I believe I can live with it. ;)


Sincerely,
Gour

--
As the ignorant perform their duties with attachment to results,
the learned may similarly act, but without attachment, for the
sake of leading people on the right path.