You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -148,7 +148,7 @@ To check that the markdown you have written will render correctly, you can rende
148
148
149
149
#### Writing math equations in markdown
150
150
151
-
Math in markdown files that are written in LaTex is rendered using [Mathjax](https://www.mathjax.org/). Inline math symbols are set apart with a set of $ and math equations that have their own line are set apart with a set of $$.
151
+
Math in markdown files that are written in LaTeX is rendered using [Mathjax](https://www.mathjax.org/). Inline math symbols are set apart with a set of $ and math equations that have their own line are set apart with a set of $$.
152
152
153
153
In order to render the math equations correctly, the `<zero-md>` elements must have the `no-shadow` attribute, and one `<zero-md>` element must have the `id="math"` attribute. The `id="math"` is used later to link each `<zero-md>` element with a Mathjax CDN with the following code.
154
154
@@ -162,9 +162,9 @@ In order to render the math equations correctly, the `<zero-md>` elements must h
162
162
</script>
163
163
```
164
164
165
-
This code adds the script to display LaTex with Mathjax after the markdown has been translated to `html` through the `<zero-md>` element. Because the markdown file is first translated to `html` then converted with Mathjax, the way LaTex is written in markdown differs slightly from the default.
165
+
This code adds the script to display LaTeX with Mathjax after the markdown has been translated to `html` through the `<zero-md>` element. Because the markdown file is first translated to `html` then converted with Mathjax, the way LaTeX is written in markdown differs slightly from the default.
166
166
167
-
The symbols `\,`, `\_`, and `\~` in LaTex should be written as `\\,`, `\\_`, and `\\~` in the markdown file.
167
+
The symbols `\,`, `\_`, and `\~` in LaTeX should be written as `\\,`, `\\_`, and `\\~` in the markdown file.
168
168
169
169
The single `\` in markdown will be removed when the code is translated to `html`, which will prevent Mathjax from rendering the styling correctly. This is the reason a double `\\` should be used. Markdown with `\\` is translated into `html` as `\`, which will then be properly rendered with Mathjax.
170
170
@@ -357,7 +357,7 @@ Once you have updated the navigationSection, you can render the `html` file you
357
357
358
358
In the `<section class="docsSection">`, the `template.html` page has a template structure that exemplifies how to set up the `<zero-md>` element to link markdown files to your `html` file. Every `<zero-md>` element is surrounded with a `<span>` element, which has an `id` attribute. This `id` should be referenced to skip to the section written in the markdown file that is linked to the `<zero-md>` element.
359
359
360
-
The first `<zero-md>` element must have the `id="math"` attribute, but the following <zero-md> elements should not have this. Having at least one `<zero-md>` element with the `id="math"` attribute will allow any mathematical equations written in LaTex in the markdown files to be rendered correctly on the page using [Mathjax](https://www.mathjax.org/).
360
+
The first `<zero-md>` element must have the `id="math"` attribute, but the following <zero-md> elements should not have this. Having at least one `<zero-md>` element with the `id="math"` attribute will allow any mathematical equations written in LaTeX in the markdown files to be rendered correctly on the page using [Mathjax](https://www.mathjax.org/).
0 commit comments