From e379546ea6bb0a8358a4bf1adb65e62bba3296c0 Mon Sep 17 00:00:00 2001 From: ben Date: Fri, 17 Oct 2025 20:37:49 +0200 Subject: [PATCH] Update style for code format --- local.css | 15 +++++++++++++++ sandbox.mdwn | 19 +++++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/local.css b/local.css index f982365..a0069e2 100644 --- a/local.css +++ b/local.css @@ -188,6 +188,10 @@ pre code { color: inherit; word-break: normal; } +pre.hl { + background: #e9ecef; + padding: 0.25rem; +} h1, h2, h3, @@ -1112,3 +1116,14 @@ border-right: 0px; } +header.header { + font-size: 100%; + font-weight: bold; + line-height: 1em; +} +.inlinepage { + border: 0px; +} +.inlinefooter { + display: none; +} diff --git a/sandbox.mdwn b/sandbox.mdwn index 2d41ed1..af123c6 100644 --- a/sandbox.mdwn +++ b/sandbox.mdwn @@ -54,6 +54,25 @@ ls -al /etc ls -al / ``` +[lang dispo](http://andre-simon.de/doku/highlight/en/langs.php) + +[[!format c """ +void main () { + printf("hello, world!"); +} +"""]] + +[[!format shellscript """ +#!/bin/sh + +ls -al /etc +"""]] + +[[!format shellscript """ +cd /etc +ls -al +"""]] + ## titre 2 Et est admodum mirum videre plebem innumeram mentibus ardore quodam infuso cum dimicationum curulium eventu pendentem. haec similiaque memorabile nihil vel serium agi Romae permittunt. ergo redeundum ad textum.