[ENH] Use MathJax for math expressions (closes #2186)#2445
Open
duplicatenode wants to merge 4 commits into
Open
[ENH] Use MathJax for math expressions (closes #2186)#2445duplicatenode wants to merge 4 commits into
duplicatenode wants to merge 4 commits into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #2445 +/- ##
=======================================
Coverage 83.07% 83.07%
=======================================
Files 22 22
Lines 1696 1696
=======================================
Hits 1409 1409
Misses 287 287 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Author
|
Hi maintainers, this PR has all checks passing now. Could someone take a look and review when you have a chance? Thanks! |
effigies
reviewed
Jul 10, 2026
Comment on lines
+34
to
+47
|
|
||
| {{ MACROS___make_filename_template( | ||
| "raw", | ||
| datatypes=["anat"], | ||
| suffixes=[ | ||
| "VFA", | ||
| "IRT1", | ||
| "MP2RAGE", | ||
| "MESE", | ||
| "MEGRE", | ||
| "MTR", | ||
| "MTS", | ||
| "MPM", | ||
| ]) | ||
| "raw", | ||
| datatypes=["anat"], | ||
| suffixes=[ | ||
| "VFA", | ||
| "IRT1", | ||
| "MP2RAGE", | ||
| "MESE", | ||
| "MEGRE", | ||
| "MTR", | ||
| "MTS", | ||
| "MPM", | ||
| ]) |
Collaborator
There was a problem hiding this comment.
Please revert unrelated changes like these.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
pymdownx.arithmatexextension tomkdocs.ymlto support math syntaxextra_javascriptinmkdocs.yml<sub>/<sup>) to LaTeX math syntax in:src/appendices/units.mdsrc/appendices/file-collections.mdsrc/modality-specific-files/magnetic-resonance-imaging-data.mdTesting
Verified rendering locally using
mkdocs serve. Math expressions (B0, B1+/-, powers of ten) now render as proper formatted math instead of raw HTML tags.I was not able to set up the full Pandoc/LaTeX toolchain locally to verify the PDF build, but
$...$syntax is natively supported by Pandoc, so it should convert cleanly. Happy to address any CI failures related to the PDF build if they come up.Closes #2186