Also if your output format is LaTeX things will probably look better if you wrap the text of any footnotes containing lists, tables or code blocks in a minipage:

````markdown
[^fancy_note]:  `\begin{minipage}{0.8\textwidth}`{=latex}

    *   List
    
    ```code
    a = b
    ```
    
    More
    
    `\end{minipage}`{=latex}
````
    
To make writing easier and to make output more uniform you may want to use a Lua filter to "automatically" wrap the text of all footnotes in such a minipage:

````lua
local before_note = pandoc.RawBlock('latex', '\\begin{minipage}{0.8\textwidth}')

local after_note = pandoc.RawBlock('latex', '\\end{minipage}')

function Note (note)
  -- arg #2 is position to insert before
  table.insert(note.content, 1, before_note)
  -- no position == append at end
  table.insert(note.content, after_note)
  return note
end
````

  

Den lör 12 okt. 2019 09:12Pablo Rodríguez <oinos-S0/GAf8tV78@public.gmane.org> skrev:
On 10/12/19 12:20 AM, Marc Chantreux wrote:
> hello people,
>
> this exemple doesn't work ^[because
>
> * footnotes doesn't allow empty line
> * empty line is a way to start a list
>
> ]

Hi Marc,

here you have the difference:

    This^[One--line footnote]

    That[^multiple-lines]

    [^multiple-lines]: here you can have

        * lists

        And other paragraphs as well.

I hope it helps,

Pablo
--
http://www.ousia.tk

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/f7d1dd93-0769-4ae6-35f2-40e072f9a375%40web.de.

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CADAJKhAzHAT-xi_kQb6hRdEBz57rsLktPt-idkQaYvin1QZdzw%40mail.gmail.com.