diff options
author | EuAndreh <eu@euandre.org> | 2019-06-02 10:15:13 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2019-06-02 10:19:00 -0300 |
commit | 31f1d1573fa6af5c40d90a1ab603ccd9e36aa800 (patch) | |
tree | 3d704bcc4bd595bd500af6be0543d89587256f23 /scripts | |
parent | Use default generated options in env.sh for Bash files (diff) | |
download | dotfiles-31f1d1573fa6af5c40d90a1ab603ccd9e36aa800.tar.gz dotfiles-31f1d1573fa6af5c40d90a1ab603ccd9e36aa800.tar.xz |
Use explicit HTML for badge in README.org
The old link did work, but the =--self-contained= flag from pandoc would
download the badge at build time and embed it as base64 data.
I tried adding the =data-external="1"= attribute to the image, like:
#+ATTR_HTML: :data-external 1
[[https://builds.sr.ht/~euandreh/dotfiles][file:https://builds.sr.ht/~euandreh/dotfiles.svg]]
However this did *not* work for this link format. If I downloaded the image and
referenced it instead, pandoc would keep the link:
#+ATTR_HTML: :data-external 1
[[https://builds.sr.ht/~euandreh/dotfiles][./dotfiles.svg]]
The hand-written HTML is to cover both cases:
1. do not embed the image at build time;
2. show the SVG image from the original source instead of the local copy.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions