Syntax Highlighting Post

August 27th, 2020

L=12ρv2SCLL = \frac{1}{2} \rho v^2 S C_L

Syntax highlighting is a feature that displays source code, in different colors and fonts according to the category of terms. This feature facilitates writing in a structured language such as a programming language or a markup language as both structures and syntax errors are visually distinct. Highlighting does not affect the meaning of the text itself; it is intended only for human readers.1

Fenced Code Blocks

css
1#container {
2 float: left;
3 margin: 0 -240px 0 0;
4 width: 100%;
5}

Python Code

python
1import json
2
3with open('data.json') as f:
4 data = json.load(f)
5
6for item in data:
7 print(item)

James Shapiro, 2021