-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Closed
Description
With a markdown file like this:
[GitHub](https://github.com)
If you try to create a PDF via typst with pandoc 3.8 or 3.8.1 from it with:
pandoc link.md -t typst -o link.pdf
the resulting PDF doesn't contain the link. Doing the same with pandoc 3.7.0.2 produces a PDF with the link as expected.
After digging around, it turns out that the template changes in 6070ad2 caused this, specifically these lines:
pandoc/data/templates/template.typst
Lines 67 to 71 in 6070ad2
| show link: this => { | |
| if filecolor != none and type(this.dest) == label { | |
| text(this, fill: rgb(content-to-string(filecolor))) | |
| } | |
| } |
I don't know what the issue with these lines is but removing them produces a PDF with the link again.
Reactions are currently unavailable