Update style for code format

This commit is contained in:
ben
2025-10-17 20:37:49 +02:00
parent 20a16db706
commit e379546ea6
2 changed files with 34 additions and 0 deletions

View File

@@ -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;
}

View File

@@ -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.