@ignore

A block comment. The body is dropped without being read, so what is inside need not compile, but its braces must balance. Like any directive it begins its own line, and it may stand between scenes, in a scene's body or in an environment. In the middle of prose it ends the paragraph before it. It takes no attributes and no :value.

@ignoreDirectiveExplained in Comments
On this page

#Allowed content

Body { }Anything — the body is discarded unparsed

#Examples

@ignore{
    scene{
        # A draft scene, kept but not compiled
    }
}
graph{
    curve(expression: x^2)
    @ignore{
        curve(expression: x^3; colour: grey)
    }
}

#Writing guidance

  • Source style — The conventions that keep a .chalk file legible to the next person editing it by hand.

Last updated