Replies: 1 comment
-
Could you share a small self-contained "working" (reproducible) example to work with, i.e., a complete Quarto document or a Git repository? The goal is to make it as easy as possible for us to recreate your problem so that we can fix it: please help us help you! Thanks. This being said, I would say to set You can share a self-contained "working" (reproducible) Quarto document using the following syntax, i.e., using more backticks than you have in your document (usually four If you have multiple files (and if it is absolutely required to have multiple files), please share as a Git repository.
Additionally and if not already given, please share the output of |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I am rendering
.md
files for a Hugo website using Quarto. I have katex rendering already configured on my Hugo website, but this conflicts with the default math rendering from Quarto.Specifically, when I call quarto preview on a
.qmd
file included within my Hugo project, I get a js injection within the resulting.md
file, which prevents Hugo from displaying math correctly. The js I'm talking about is the following:If I remove these lines manually, everything works correctly. Obviously I'd like to control the behavior from the frontmatter of my
.qmd
file, and avoid the javacript injection altogether, but I can't seem to figure out how to do that correctly.For reference, the frontmatter I am using is:
I tried adding
tex_math_dollars: false
to my frontmatter, thinking that this would control the underlying pandoc's behavior directly, but it doesn't work. Can anyone give me a suggestion on what I am doing wrong?For reference, I am using Quarto 1.5.55 and Hugo v0.134.0+extended, rendering from VSCode using the official Quarto extension.
Beta Was this translation helpful? Give feedback.
All reactions