#5 Lua filter org mode links need to distinguish between file and web links

Open
opened 3 years ago by vaeringjar · 2 comments

Otherwise the lua filter example makes https://foo.org => https://foo.html

Otherwise the lua filter example makes https://foo.org => https://foo.html
vaeringjar commented 3 years ago
Owner

I've been thinking about this one for a while. One way, would be to add an extra export step to normalize the output into something more expressive before converting to html. Anyway, here's the pandoc examples.

I've been thinking about this one for a while. One way, would be to add an extra export step to normalize the output into something more expressive before converting to html. Anyway, here's the pandoc examples. - https://github.com/pandoc/lua-filters - https://pandoc.org/lua-filters - https://pandoc.org/lua-filters#modifying-pandocs-manual.txt-for-man-pages
vaeringjar commented 3 years ago
Owner

I added a quick fix in dbb98cfdf9.

But I think there will be edge cases, so I might need to setup a test cases in lua to make sure.

I added a quick fix in dbb98cfdf9abc45f5205e725f2bd9472d85afb3f. But I think there will be edge cases, so I might need to setup a test cases in lua to make sure.
Sign in to join this conversation.
No Label
No Milestone
No assignee
1 Participants
Loading...
Cancel
Save
There is no content yet.