Style guide
Iconography
Minecraft item sprites, the mcicon shortcode, and the hyphenated-slug rule.
Iconography
Minecraft item sprites come from assets/css/mc-items.css
(~1653 slugs). Use the shortcode {{< mcicon "grass-block" >}}
inline, or partial "mc-icon.html" "grass-block"
in templates (pass a dict with lg true for 32px).
Slugs must be hyphenated -
ender-pearl, not
enderpearl; a bad slug renders an
empty span silently. Category → icon and section → icon mappings
live in data/categories.yaml and
data/sections.yaml.
grass-blockwheatredstoneender-pearlemeraldcrafting-tablefilled-mapfirework-rocketplayer-headbeacon