mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
doc: restore syntax highlight in C snippet + increase padding of code fragment blocks
This commit is contained in:
parent
61552892f2
commit
0ba641a6d2
@ -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
|
||||
(typically located in `main.c`).
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ {.c}
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~{.c}
|
||||
#include <stdio.h>
|
||||
|
||||
int main(void)
|
||||
|
@ -197,6 +197,7 @@ div.fragment {
|
||||
font-size: 14px;
|
||||
line-height: 1.42857143;
|
||||
margin: 0 0 10px;
|
||||
padding: 10px;
|
||||
overflow: visible;
|
||||
page-break-inside: avoid;
|
||||
word-break: break-all;
|
||||
|
@ -185,6 +185,7 @@ div.fragment {
|
||||
font-size: @font-size-base;
|
||||
line-height: @line-height-base;
|
||||
margin: 0 0 10px;
|
||||
padding: 10px;
|
||||
overflow: visible;
|
||||
page-break-inside: avoid;
|
||||
word-break: break-all;
|
||||
|
Loading…
Reference in New Issue
Block a user