nest

Syntax highlighting for code snippets

Snippets of code within your Markdown are rendered with full syntax highlighting



JavaScript example

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean ultrices enim tincidunt est convallis, vel sodales sem ullamcorper. Sed ultrices feugiat tortor sagittis vestibulum.

// this is a command
function myCommand() {
	let counter = 0;
	counter++;
}

console.log("Hello world")

Python example

def my_command():
  counter = 0
  counter += 1

print("Hello world!")