mystmd
mystmd copied to clipboard
badges are evaluated at build-time - this is suboptimal
Description
When inserting a dynamic badge - one that retrieves info that is likely to change over time, e.g.
using this markdown
[](https://github.com/jupyter-book/mystmd/issues/2320)
what I observe is, it seems, the URL is probed once at build time and its result is stored and packaged as a static svg in the build output
meaning that the badge is not going to reflect current data, but rather data as it was at build-time
am I correct ? is this intentional ?
Proposed solution
can we can agree this behaviour is suboptimal and the badge should probe the url at load-time when reading the published website ?