Heading 1 with bold

Document metadata fields such as authors, version, and date appear as labeled items before the body.

Headings

Notion supports heading levels 1 to 4. The page title above is heading level 1 and this Headings section is heading level 2.

Heading Level 3

Heading Level 4

Autodoc

<aside> πŸ’‘ Example

<aside> πŸ’‘ Code

.. autofunction:: example_module.greet

.. autoclass:: example_module.Calculator
   :members:

</aside>

<aside> πŸ’‘ Output

<aside> πŸ“‹ example_module.greet(*, name: str) -> str

</aside>

<aside> πŸ“‹ class example_module.Calculator(*, initial_value: float = 0)

</aside>

</aside>

</aside>

Rubric

<aside> πŸ’‘ Example

<aside> πŸ’‘ Code

.. rubric:: This is a rubric heading

Rubrics are informal headings that don't appear in the table of contents.

.. rubric:: A rubric with ``code`` and *italic*

Rubrics can contain inline formatting like code and emphasis.

</aside>

<aside> πŸ’‘ Output

This is a rubric heading

Rubrics are informal headings that don’t appear in the table of contents.

A rubric with code and italic

Rubrics can contain inline formatting like code and emphasis.

</aside>

</aside>

Option Lists

<aside> πŸ’‘ Example

<aside> πŸ’‘ Code

-h, --help  Show command help.
-v, --verbose  Enable *verbose* logging.
--output FILE  Write output to ``FILE``.

</aside>

<aside> πŸ’‘ Output

</aside>

Field Lists

<aside> πŸ’‘ Example

<aside> πŸ’‘ Code

:Status: *Draft*
:Owner: Documentation Team
:Notes: First paragraph.

        Second paragraph with ``code``.

</aside>

<aside> πŸ’‘ Output

</aside>

Definition Lists

<aside> πŸ’‘ Example

<aside> πŸ’‘ Code

term
   Definition for a simple term.

``code_term``
   Definition lists preserve inline formatting like code in terms.

*emphasized* term
   Terms can also have emphasis and other formatting.

term : classifier
   Classifiers are appended to the term with colons.

</aside>

<aside> πŸ’‘ Output

</aside>