-
Notifications
You must be signed in to change notification settings - Fork 60
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
Add space before footnote in stringify function #225
Comments
Sorry for only reading this now. Completely agree with the change, feel free to submit a PR. Otherwise, I'll schedule this for the next major update (time permitting) |
Actually pandoc's Maybe panflute's |
I agree that coherence is valuable but OTOH dropping text might be problematic. Maybe we can just add it back in the same format as inline footnotes (see last part of this link). EG: hello this[^1] is my footnote
[^1]: just a test Becomse:
In that way footnotes can be clearly spotted from the main text. |
But if the footnote contains multiple paragraphs? I don't think that I have in mind filters for which we don't want that. For instance a spellchecking filter: it checks if the element what do you think? |
Hello,
currently, if I have a markdown file like:
and if I represent it as a panflute Doc and call stringify, it will return:
hello thisjust a test is my footnote
I think that stringify should add a space before the Note element, and instead return:
hello this just a test is my footnote
If you agree with this change I can propose a PR.
The text was updated successfully, but these errors were encountered: