emphasis-lines:
highlights the lines.
linenos:
shows the line numbers as well.
caption:
shown at the top of the code block.
name:
may be referenced with `:ref:` later.
:linenos:
:emphasize-lines: 2,5
:caption: An example code-block with everything turned on.
:name: Full code-block example
# Comment line
a, b = 0, 1
# Long lines in code blocks create a auto horizontal scrollbar
while b < 10:
print(b)
a, b = a, a + b