Skip to content

docs(markdown-basics.qmd): add display math requirement #1651

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions docs/authoring/markdown-basics.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,13 @@ Use `$` delimiters for inline math and `$$` delimiters for display math. For exa
| ``` | |
+---------------------------+-------------------------+

::: {.callout-note}
## No blank lines in display math

In display math (`$$`), the delimiters may be separated from the formula by whitespace (`$$ E = mc^{2} $$`).
However, there can be no blank lines between the opening and closing $$ delimiters.
:::

If you want to define custom TeX macros, include them within `$$` delimiters enclosed in a `.hidden` block. For example:

``` tex
Expand Down
Loading