Skip to content

Commit 73e08f3

Browse files
committed
avoid duplicated section IDs (latex-math and footnotes)
1 parent da5e659 commit 73e08f3

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

docs/03-syntax.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ output formats. Similarly, raw HTML blocks will only appear in HTML output. One
245245
exception is raw LaTeX blocks that are LaTeX math environments, which also work
246246
for HTML output (see the next section).
247247

248-
### LaTeX math
248+
### LaTeX math {#math}
249249

250250
You can write both `$inline$` and `$$display$$` LaTeX math, e.g.,
251251
$\sin^{2}(\theta)+\cos^{2}(\theta) = 1$.

docs/04-mark.Rmd

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,8 @@ Hugo's Markdown engines to render pages.
239239

240240
Whether to identify LaTeX math expressions in pairs of single (`$ $`) or double
241241
dollar signs (`$$ $$`), and transform them so that they could be correctly
242-
rendered by MathJax (HTML output) or LaTeX. This option is `true` by default.
242+
rendered by MathJax/KaTeX (HTML output) or LaTeX. This option is `true` by
243+
default.
243244

244245
### `number_sections`
245246

docs/05-assets.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ like this behavior, you may cancel it via CSS:
516516
}
517517
```
518518

519-
#### Footnotes
519+
#### Footnotes on the side
520520

521521
Footnotes are moved to the right side. When you move your cursor over a footnote
522522
number in the body, the footnote will be moved next to your cursor. This can be

0 commit comments

Comments
 (0)