Skip to content

Comments

SevenMark supports /* */ comments that are not rendered in the output.

Multiline Comments

Use /* */ for comments:

sevenmark
Text before comment /* This is a
multiline comment
that spans multiple lines */ text after comment.

Comments work at any nesting level, including inside tables, lists, folds, and other constructs.

Comments in Complex Structures

Comments can be used within other elements:

sevenmark
{{{#list #1
[[First item]]
[[Second item /* inline multiline comment */ with continuation]]
[[Third item]]
}}}

/* This is a comment explaining
   the structure of this wiki page:
   - Category classification
   - Headers with different levels
   - Mixed formatting styles
   - Nested complex elements
*/

Comment Usage Guidelines

  • Use comments to explain complex markup structures
  • Comments are useful for temporary notes during document editing
  • Comments are completely removed from the rendered output
  • /* */ comments can appear anywhere in the document, including inside nested structures
  • Nested comments are not supported (you cannot put /* */ inside another /* */)