847 B
847 B
Code Examples
Code annotation Examples
Codeblocks
Some code
goes here.
Plain codeblock
A plain codeblock:
Some code here
def my_function():
print("Hello, world!")
Code for a specific language
Some more code with the py
at the start:
def my_function():
print("Hello, world!")
With title
def my_function():
print("Hello, world!")
With title and line numbers
def my_function():
print("Hello, world!")
With line numbers and line highlighting
def my_function():
print("Hello, world!")
Icons and Emojis
😄
:fontawesome-brands-github-alt:
:fontawesome-brands-twitter:{ .twitter}
:octicons-heart-fill-24:{ .heart}