A config in a language nobody parses

· Small Sharp Tools


Every generator eventually meets a code fence whose language tag it does not
recognise. The right behaviour is to escape the contents, label the block, and
get out of the way.

TOML

[package]
name = "pulpmesh"
version = "0.4.0"

[build]
target = "wasm32-wasi"
flags = ["-Os", "--strip"]

An .ini file

[core]
	editor = vim
	pager = less -FRX

[alias]
	lg = log --graph --oneline

Something invented on the spot

site  slab-and-serif
posts 12
draft 3
feed  rss.xml

Plain, with no tag at all

Every character in here is literal.
Even *this*, and `this`, and <this>.

Why this matters

An unknown language must not become a parse error, a swallowed block, or a
paragraph. It becomes a <pre> with a class naming the language, so a
stylesheet or a future highlighter can pick it up later without the content
having to change.

config toml highlighting
last updated: