-
Notifications
You must be signed in to change notification settings - Fork 344
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Math in dashboard card titles ignores position in title #10340
Comments
What if you try without the attribute syntax? ::: {.card}
## Math $y=mx+b$ between words
Math $y=mx+b$ between words
::: |
(incidentally, please keep the issues coming!) |
Seems inconsistent compared to other div features such as call-outs. |
Agreed. |
It's the processing here that's broken: quarto-cli/src/format/dashboard/format-dashboard-card.ts Lines 155 to 180 in 3fd660e
We need to move more than just "loose text". |
Concretely, the problem is not just with math. Any formatted text breaks in the same way, like |
Bug description
Last dashboard issue today, I promise!
Inline math in a dashboard card title seems to come after all words in the title.
Inspecting the output shows something's probably gone wrong with the placement of the inline math div:
I'm not actually sure how to come up with a workaround for this one, but I can also probably live without math in my card titles.
Steps to reproduce
Expected behavior
No response
Actual behavior
No response
Your environment
IDE: VSCode 1.91.1
OS: Windows 10 WSL2
Quarto check output
Quarto 1.5.55 [✓] Checking versions of quarto binary dependencies... Pandoc version 3.2.0: OK Dart Sass version 1.70.0: OK Deno version 1.41.0: OK Typst version 0.11.0: OK [✓] Checking versions of quarto dependencies......OK [✓] Checking Quarto installation......OK Version: 1.5.55 Path: /opt/quarto/bin [✓] Checking tools....................OK TinyTeX: v2023.10 Chromium: 869685 [✓] Checking LaTeX....................OK Using: TinyTex Path: /home/emiz/.TinyTeX/bin/x86_64-linux Version: 2023 [✓] Checking basic markdown render....OK [✓] Checking Python 3 installation....OK Version: 3.9.7 (Conda) Path: /home/emiz/miniconda3/bin/python Jupyter: (None) Jupyter is not available in this Python installation. Install with conda install jupyter [✓] Checking R installation...........(None) Unable to locate an installed version of R. Install R from https://cloud.r-project.org/
The text was updated successfully, but these errors were encountered: