Login  Register

Re: footnotes with paragraph breaks

Posted by mojavelinux on Dec 27, 2015; 12:52am
URL: https://discuss.asciidoctor.org/footnotes-with-paragraph-breaks-tp4130p4131.html

Multiple paragraphs in a footnote is not a supported use case (primarily because it's an improper use case for a footnote according to style manuals).

It is, however, possible to insert a manual break between lines in a footnote to create the appearance of multiple paragraphs. Here's an example:

This is subject text.footnote:[This is the first paragraph about this text.
pass:p[ +]
pass:p[ +]
This is the second paragraph about this text.]

Without the pass lines, Asciidoctor sees the lines above and below as separate paragraphs, the first with an unterminated footnote macro. A blank line is a definitive break between paragraphs. Thus, a footnote must be contiguous lines.

-Dan

On Sat, Dec 26, 2015 at 6:46 AM, dan34 [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Is there a way to have a paragraph break inside a footnote? I can't get this to work. It doesn't include the second paragraph. Shouldn't everything within the square brackets be treated as the footnote text?


If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/footnotes-with-paragraph-breaks-tp4130.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML



--
Dan Allen | @mojavelinux | http://google.com/profiles/dan.j.allen