Open schloerke opened 2 years ago
Yea, that seems like an oversight
IIRC, we had considered this but hadn’t defined the type for when the source is a remote url. There may be some prior discussion about this.
Just to follow up: I think the idea was to create a new type similar to HTMLDependencySource
, but with fields that are appropriate for remote sources
https://github.com/rstudio/py-htmltools/blob/ae298449b10de5a193031d7c72d7216f7611cf5a/htmltools/_core.py#L1094-L1098
I'd expect to be able to write:
Currently, it produces:
Can I have a
HTMLDependency
that points to external scripts?