Replies: 1 comment
-
I am open to this change. Can one of the Quartz users submit a PR with tests? I used fn: following the convention used by ox-md. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was wondering if it would be possible to add an option to remove the ":label" part in footnotes. The context for this is a compatibility issue. I use org mode with org roam as the raw content for my static website, which is built using Quartz. I followed Aster Hu's guide for this. The org mode files get transformed by ox-hugo to markdown files as the "content" folder for Quartz.
Quartz uses remarkGFM to process Github Flavoured Markdown, enabling features including footnotes with links going forward and backward. This is great, except there is an issue with footnotes that have colons in their label, see also.
Having looked ox-blackfriday.el, I think some minimal changes here and here could fix this. Just change
[^fn:%d]
to[^%d]
? Maybe only do this is an elisp variable is toggled on? I have no elisp experience so not confident about making implementation suggestions or a pull-request at this moment.I believe this would fix the compatibility issue for my specific use case. Interested to know if anyone has had a similar problem.
I decided to open this as a discussion rather than raising an issue because I am suggesting the addition of a feature to fix a problem that I specifically have, which could be fixed by resolving issues in other projects downstream in my pipeline. I would understand a "that's not our problem" response. This just looked like a quicker fix for me.
Beta Was this translation helpful? Give feedback.
All reactions