function, const, if, for, class
"Hello", 'World', `template`
// comment, /* block */
42, 3.14, 0xFF
console.log, insertMany
MyClass, String, Array
This is how your MongoDB code will appear:
/* Ordered insert - stops on first error */
db.moviesScratch.insertMany([
{
"_id": "tt0084726",
"title": "Star Trek II: The Wrath of Khan",
"year": 1982,
"type": "movie"
}
]);
This is how your Python code will appear:
import re
# Create text with whitespace
text_data = [' Hello ', ' World ']
# Strip whitespaces
strip_whitespace = [string.strip() for string in text_data]
print(strip_whitespace)
This is how your shell commands will appear:
# Install command line tools
xcode-select --install
# Verify installation
xcode-select -p
bundle exec jekyll serve<span class="k"> tagsWITHOUT highlighting: All code appears in one color (white/gray)
WITH highlighting: You see red keywords, green strings, purple numbers, brown comments!
bundle exec jekyll clean```language format