fix: line numbers issue in code blocks
This commit is contained in:
parent
1c8485a586
commit
19b891fd68
@ -192,6 +192,16 @@ s = "Python syntax highlighting"
|
|||||||
print s
|
print s
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```c { linenos=true }
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
|
int main(void)
|
||||||
|
{
|
||||||
|
printf("hello, world\n");
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
```mermaid
|
```mermaid
|
||||||
flowchart TD
|
flowchart TD
|
||||||
A[Start] --> B{Is it?}
|
A[Start] --> B{Is it?}
|
||||||
|
@ -103,6 +103,7 @@ unsafe = true
|
|||||||
|
|
||||||
[markup.highlight]
|
[markup.highlight]
|
||||||
style = 'monokai' # see https://xyproto.github.io/splash/docs/all.html
|
style = 'monokai' # see https://xyproto.github.io/splash/docs/all.html
|
||||||
|
lineNumbersInTable = false
|
||||||
|
|
||||||
[markup.tableOfContents]
|
[markup.tableOfContents]
|
||||||
startLevel = 2
|
startLevel = 2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user