bdarcus / csln

Reimagining CSL
Mozilla Public License 2.0
13 stars 0 forks source link

links #155

Open bdarcus opened 3 months ago

bdarcus commented 3 months ago

Another issue in the CSL world is hyperlinks.

I think we figured out a reasonable initial solution there, which I will come back to and link later here.

Here's a related case.

https://github.com/typst/typst/discussions/4420

It might be so simple as doing something like this?

links:
    target: url-or-doi # ir url, use that; otherwise, use URL constructed from the DOI
    anchor: title # to just link on the target, value could be url-or-doi

Yes, would need to consider other doi-like URLs, like for pubmed and such. But I don't see that as a problem.

References: