Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linebreak in a footnote in a qmd #63

Open
xtimbeau opened this issue Mar 31, 2024 · 2 comments
Open

linebreak in a footnote in a qmd #63

xtimbeau opened this issue Mar 31, 2024 · 2 comments

Comments

@xtimbeau
Copy link

It is possible in a qmd to have a linebreak in a footnote. However, running babeldown on it transform the footnote inserting ticks.

---
title: "footnote"
---

let's insert a footnote[^1]

[^1]: here it is. We want a line break

    nice and clean inside the footnote

    another one

here is the translation. Ticks are added and the text inbetween is not translated.

---
title: note de bas de page
---

insérons une note de bas de page[^1]

[^1]: voici ce qu'il en est.  Nous voulons un saut de ligne

```
nice and clean inside the footnote

another one
```
@maelle
Copy link
Contributor

maelle commented Apr 4, 2024

This might be a current limitation of tinkr/commonmark.

@maelle
Copy link
Contributor

maelle commented Apr 18, 2024

see r-lib/commonmark#23 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants