fix: line numbers issue in code blocks

This commit is contained in:
Rainer Poisel 2025-01-30 21:25:29 +01:00
parent 1c8485a586
commit 19b891fd68
2 changed files with 11 additions and 0 deletions

View File

@ -192,6 +192,16 @@ s = "Python syntax highlighting"
print s
```
```c { linenos=true }
#include <stdio.h>
int main(void)
{
printf("hello, world\n");
return 0;
}
```
```mermaid
flowchart TD
A[Start] --> B{Is it?}

View File

@ -103,6 +103,7 @@ unsafe = true
[markup.highlight]
style = 'monokai' # see https://xyproto.github.io/splash/docs/all.html
lineNumbersInTable = false
[markup.tableOfContents]
startLevel = 2