Code objects
Keep editable code, JSON and Mermaid source on Canvas with language-aware presentation.
Code objects are for source text that should stay distinct from a prose Note.
Create Code
Use Quick Insert → Code, or paste text that Wall confidently recognizes as code.
Fenced code preserves the declared language when available. Valid JSON is created as a Code object with JSON language.
Edit source
Open source editing, change the text and commit. The Code Object remains normal canonical Canvas content and participates in persistence, search and Undo.
Mermaid
Mermaid uses the same Code model with Mermaid language and a rendered diagram surface.
Use the dedicated Mermaid diagrams documentation for diagram behavior.
Smart Paste is conservative
Wall intentionally prefers false negatives. Ambiguous prose stays a Note instead of being turned into Code simply because it contains punctuation or short technical fragments.