meso-web

Sources of the |Méso|Star> website
git clone git://git.meso-star.fr/meso-web.git
Log | Files | Refs | README | LICENSE

commit 46e7706c292e207a6963d1dedf871de9fc47fac2
parent 9ab17c10699674b4442a1ee207d014822d2eb628
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Fri, 17 Nov 2023 09:35:31 +0100

stardis: indenting starter pack listings

Diffstat:
Mstardis/stardis_build.sh | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/stardis/stardis_build.sh b/stardis/stardis_build.sh @@ -94,7 +94,9 @@ starter_pack() exit 1 fi - readme=$(${markdown} "$1") + readme=$(${markdown} "$1" \ + | sed 's/<pre><code>/<pre class="code">/g' \ + | sed 's/<\/code><\/pre>/<\/pre>/g') intro=$(echo "${readme}" \ | sed '/^<h2>Content<\/h2>/,$d' \ | sed '1d')