comments

Envision supports line comments, block comments, and structured documentation comments.

Line and block comments

Line comments start with //. Block comments are wrapped in /* and */.

// This is a line comment.
greeting = "Hello"
show label greeting

show label /* inline comment */ greeting

Comments do not affect execution.

Structured documentation comments

Triple-slash comments (///) immediately preceding a variable attach structured documentation, surfaced in the editor. The content supports Markdown.

/// This is a **bold** message.
greeting = "Hello, world!"

show label greeting
User Contributed Notes
0 notes + add a note