Skip to content

Kitchen Sink

Custom Containers

INFO

This is an info box.

Details

This is a details block.

Custom Titles

STOP

Danger zone, do not proceed

Click me to toggle

This is a details block.

Click me to toggle

This is a details block.

Code Blocks

Focus

js
// Javascript code with syntax highlighting.
function greeting() {
  console.log("Hello World"); 
}

Diffs

js
// Javascript code with syntax highlighting.
function greeting() {
  console.log("Hello World"); 
  console.log("Hello John"); 
}

Errors and warnings

js
// Javascript code with syntax highlighting.
function greeting() {
  console.log("Hello World") 
}

Line Numbers

js
// Javascript code with syntax highlighting.
function greeting() {
  console.log("Hello World")
}
js
// Javascript code with syntax highlighting.
function greeting() {
  console.log("Hello World")
}

Imports

js
// This code is imported from example.js
function greeting() {
  console.log("Hello World");
}

Code Groups

css
p {
  color: red;
}
js
// Javascript code with syntax highlighting.
function greeting() {
  console.log("Hello World")
}