From 31f1d1573fa6af5c40d90a1ab603ccd9e36aa800 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sun, 2 Jun 2019 10:15:13 -0300 Subject: 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. --- README.org | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.org b/README.org index 6d27856..6e1d50b 100644 --- a/README.org +++ b/README.org @@ -1,4 +1,11 @@ * dotfiles - EuAndreh's personal repository +#+BEGIN_HTML +

+ + + +

+#+END_HTML ** Instructions - setting up a new NixOS installation *** 1. Prepare the USB stick Get the link for the [[https://nixos.org/nixos/download.html][NixOS ISO image]] and burn it to the USB stick: -- cgit v1.2.3