norns-core

Guide

How a .n file is put together and what each preprocessing step does.

  • The .n file — structure, defaults, auto-wrapping.
  • Civet script — the Civet you write in <script> and .c files, and what it emits.
  • Pug template — tags, attributes, Svelte expressions, components.
  • Control flow+if, +each, +snippet and rendering snippets.
  • Class shorthand — the rewriter and Tailwind extraction.
  • Error mapping — how Pug and Civet errors find the right line.