Follow us on TwitterFork us on GitHub
MyST Markdown

Blocks and comments

#Blocks

Blocks provide a structural divison of MyST documents using +++. These correspond, for example, to separate cells in a Jupyter Notebook. There can be optional metadata associated with the block, such as "tags", "parts" or other identifiers.

+++ {"cell": "one"} cell 1 +++ {"meta": "data!"} cell 2

#Comments

You may add comments by putting the % character at the beginning of a line. This will prevent the line from being shown in the output document.

This next line won't render, but it is in the HTML and LaTeX! % Markdown comment line