rstudio/tufte

Processing of multi-line footnotes fails with pandoc option --wrap preserve

aoles opened this issue · 1 comments

aoles commented

Hi @yihui,
just noticed the following: footnotes spreading across lines fail to be converted to sidenotes when the line wrapping is kept with pandoc option --wrap preserve. This is because the regex in parse_footnotes does not account for such scenario.

---
output: 
  tufte::tufte_html:
    pandoc_args: ["--wrap", "preserve"]
---

Test ^[foot
note]

This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary.