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

Open
3 jaren geleden werd geopend door vaeringjar · 2 opmerkingen

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 reageerde 3 jaren geleden
Eigenaar

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 reageerde 3 jaren geleden
Eigenaar

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.
Geen label
Geen mijlpaal
Geen verantwoordelijke
1 deelnemers
Laden...
Annuleren
Opslaan
Er is nog geen inhoud.