-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When using the OxHugoFlavouredMarkdown plugin, inline code containing unmatched math delimiters such as `$$` or `\[` will cause display math blocks afterwards to render incorrectly.
To Reproduce
Steps to reproduce the behavior:
- Enable the
OxHugoFlavouredMarkdownplugin - Add the following to a Markdown file:
Markdown math
$$
f_n(\mathbf{y};\theta)
= \prod_{k=1}^n f_{k}^{\text{univar}}(y_k;\theta)
$$
Ox-hugo math
\\[
f\_n(\mathbf{y};\theta)
= \prod\_{k=1}^n f\_{k}^{\text{univar}}(y\_k;\theta)
\\]
`$$`
Markdown math
$$
f_n(\mathbf{y};\theta)
= \prod_{k=1}^n f_{k}^{\text{univar}}(y_k;\theta)
$$
Ox-hugo math
\\[
f\_n(\mathbf{y};\theta)
= \prod\_{k=1}^n f\_{k}^{\text{univar}}(y\_k;\theta)
\\]- Render it using Quartz
- See that both ox-hugo, and markdown math render properly before the
$$, but after, only the markdown math renders properly.
Expected behavior
Characters contained in inline verbatim/code don't have any influence on markup rendering.
Desktop (please complete the following information):
- Quartz Version: 4.5.2
nodeVersion: v25.3.0npmversion: 11.7.0- OS: Arch, Ubuntu 24
- Browser: Firefox, Chromium
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
