Merge pull request #171 from rpoisel/fix-code-blocks-line-numbers
fix: line numbers issue in code blocks
This commit is contained in:
commit
1b5466b050
@ -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?}
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user