Skip to content
Snippets Groups Projects
Commit 0ba641a6 authored by Alexandre Abadie's avatar Alexandre Abadie
Browse files

doc: restore syntax highlight in C snippet + increase padding of code fragment blocks

parent 61552892
No related branches found
No related tags found
No related merge requests found
...@@ -19,7 +19,7 @@ priorities - is the first thread that runs and calls the `main()` function. ...@@ -19,7 +19,7 @@ priorities - is the first thread that runs and calls the `main()` function.
This function needs to be defined in the source code of the application This function needs to be defined in the source code of the application
(typically located in `main.c`). (typically located in `main.c`).
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ {.c} ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~{.c}
#include <stdio.h> #include <stdio.h>
int main(void) int main(void)
......
...@@ -197,6 +197,7 @@ div.fragment { ...@@ -197,6 +197,7 @@ div.fragment {
font-size: 14px; font-size: 14px;
line-height: 1.42857143; line-height: 1.42857143;
margin: 0 0 10px; margin: 0 0 10px;
padding: 10px;
overflow: visible; overflow: visible;
page-break-inside: avoid; page-break-inside: avoid;
word-break: break-all; word-break: break-all;
......
...@@ -185,6 +185,7 @@ div.fragment { ...@@ -185,6 +185,7 @@ div.fragment {
font-size: @font-size-base; font-size: @font-size-base;
line-height: @line-height-base; line-height: @line-height-base;
margin: 0 0 10px; margin: 0 0 10px;
padding: 10px;
overflow: visible; overflow: visible;
page-break-inside: avoid; page-break-inside: avoid;
word-break: break-all; word-break: break-all;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment