From 169179513e3ee227363bb03e8dae3b0c3e507e58 Mon Sep 17 00:00:00 2001 From: Brandon Waselnuk Date: Fri, 11 Apr 2025 16:39:45 -0700 Subject: [PATCH 1/2] Documentation edits made through Mintlify web editor --- text.mdx | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/text.mdx b/text.mdx index 45cec919..71a1acbc 100644 --- a/text.mdx +++ b/text.mdx @@ -1,7 +1,7 @@ --- title: "Headers and Text" description: "Text, title, and styling in standard markdown" -icon: 'heading' +icon: "heading" --- ## Titles @@ -21,20 +21,18 @@ Best used for subsection headers. ``` - -Each **title** and **subtitle** creates an anchor and also shows up on the table of contents on the right. - + Each **title** and **subtitle** creates an anchor and also shows up on the table of contents on the right. ## Text Formatting We support most markdown formatting. Simply add `**`, `_`, or `~` around text to format it. -| Style | How to write it | Result | -| ------------- | ----------------- | --------------- | -| Bold | `**bold**` | **bold** | -| Italic | `_italic_` | _italic_ | -| Strikethrough | `~strikethrough~` | ~strikethrough~ | +| Style | How to write it | Result | +| ------------- | ----------------- | ----------------- | +| Bold | `**bold**` | **bold** | +| Italic | `_italic_` | _italic_ | +| Strikethrough | `~strikethrough~` | ~~strikethrough~~ | You can combine these. For example, write `**_bold and italic_**` to get **_bold and italic_** text. @@ -49,7 +47,7 @@ You need to use HTML to write superscript and subscript text. That is, add `` in front of a paragraph. ### LaTeX -Mintlify supports in-line [LaTeX](https://www.latex-project.org) by surrounding your LaTeX code with dollar signs (\$). For example, `$(a^2 + b^2 = c^2)$` will render as $(a^2 + b^2 = c^2)$. +Mintlify supports in-line [LaTeX](https://www.latex-project.org) by surrounding your LaTeX code with dollar signs ($). For example, `$(a^2 + b^2 = c^2)$` will render as $$(a^2 \+ b^2 = c^2)$$ -Equations on their own line can be created with double dollar signs (\$\$): +. -$$\exists \, x \notin [0,1]$$ +Equations on their own line can be created with double dollar signs ($$): + +$$\\exists \\, x \\notin [0,1]$$ ```md $$\exists \, x \notin [0,1]$$ @@ -103,4 +103,4 @@ Markdown syntax also recognizes a double enter in your MDX as a linebreak. Paragraph 1 Paragraph 2 -``` +``` \ No newline at end of file From 212df6fa977aec6ff002afcf8b4bf7ed81fa9be4 Mon Sep 17 00:00:00 2001 From: Brandon Waselnuk Date: Fri, 11 Apr 2025 16:41:29 -0700 Subject: [PATCH 2/2] Documentation edits made through Mintlify web editor --- text.mdx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/text.mdx b/text.mdx index 71a1acbc..8d0f5829 100644 --- a/text.mdx +++ b/text.mdx @@ -47,7 +47,7 @@ You need to use HTML to write superscript and subscript text. That is, add `` in front of a paragraph. ### LaTeX -Mintlify supports in-line [LaTeX](https://www.latex-project.org) by surrounding your LaTeX code with dollar signs ($). For example, `$(a^2 + b^2 = c^2)$` will render as $$(a^2 \+ b^2 = c^2)$$ +Mintlify supports in-line [LaTeX](https://www.latex-project.org) by surrounding your LaTeX code with dollar signs ($$). For example, \`$$ + +(a^2 \+ b^2 = c^2)$\` will render as $$(a^2 \\\+ b^2 = c^2)$$ . Equations on their own line can be created with double dollar signs ($$): -$$\\exists \\, x \\notin [0,1]$$ +$$\\\\exists \\\\, x \\\\notin [0,1]$$ ```md $$\exists \, x \notin [0,1]$$