This makes it challenging to review images in place, i.e. on the dev branch, locally, in a pull request or at a particular moment in time. Furthermore, pixel-perfect image sizing may cause issues on certain displays (particularly small or mobile displays).
Might it be possible to construct the absolute links from the relative links and inject a CSS class into the img elements produced by the markdown renderer at compile time instead of maintaining absolute links?
At some point, standard markdown relative image references were replaced with HTML defined absolute links to
master
branch. https://github.com/nih-cfde/the-fair-cookbook/commit/0d437959c0794a993e278f119b10608abb42e59eThis makes it challenging to review images in place, i.e. on the dev branch, locally, in a pull request or at a particular moment in time. Furthermore, pixel-perfect image sizing may cause issues on certain displays (particularly small or mobile displays).
Might it be possible to construct the absolute links from the relative links and inject a CSS class into the
img
elements produced by the markdown renderer at compile time instead of maintaining absolute links?