Comments (5)
@goessner is there anything I can do on my side (tweak settings in a file or so) to enable doxygen math delimiters in mdmath, Stefan?
from mdmath.
Yes ... please try to add doxygen delimiters to the delimiters array in
https://github.com/goessner/markdown-it-texmath
I will come back to markdown-it-texmath and mdmath in two weeks at the earliest.
thanks
from mdmath.
Thank you! I tried to poke around and do something like this already, but unfortunately I could not locate the files related to the VS Code extension on my disk. (I'm not a web/JS person, so that will also not help)
Doxygen delimiters are already present, though, as far as I can tell: https://github.com/goessner/markdown-it-texmath/blob/b08ddd342f26ddcdc3afa2218f1b55410f44029b/texmath.js#L215-L234
The point I tried to make in the issue description is that support seems to be there in markdown-it-texmath, but it does not work in mdmath.
from mdmath.
Ahh ... I see. In fact I need to update mdmath to current markdown-it-texmath version. This will take same time beside other actions.
What you can try to do is replace in your folder
/Users/<name>/.vscode/extensions/mdmath/node-modules/markdown-it-texmath
the texmath.js
file or the complete folder. If it works, it is fine, if not, you are lost and have to wait for my next update.
Alternatively you can copy the doxygen stuff into your texmath.js
file.
from mdmath.
Aahh, I was looking in APPDATA...
Yes, replacement of the folder seems to have worked! I get preview of equations now.
Curiously, it seems empty lines are neecessary before starting an equation block (for it to be rendered correctly), which I'm not sure is expected for markdown, but I guess that's a markdown-it-texmath limitation?
Also, the \f{environment}{
Doxygen formula syntax does not work, but I think getting to that is probably more effort. I'll use manual enviroments \begin{eqnarray}
/end{eqnarray}
inside the block as a workaround.
from mdmath.
Related Issues (20)
- Math commands not supported, don't know why HOT 3
- Multiline queations with utf-8 characters ahead does not render correcly. HOT 1
- Commutative diagrams are not supported HOT 1
- Issue with custom macros HOT 1
- Macros do not work HOT 13
- Conflict with microJam HOT 1
- how to auto-number and quote math formula? HOT 6
- Please persist macros with KaTeX globalGroup HOT 2
- Font size
- Nonumber (disable per-equation) line numbering in align environment not recognised.
- Inline math incorrectly treated as display math in kramdown delimiter mode
- Default mdmath style should not impact "normal" markdown preview HOT 1
- The syntax highlighter gets confused after braces in subscript HOT 2
- Help? I have error command \sqrt
- The extension affects the normal markdown preview
- Read macros from local .md file
- HTML title in md
- gitlab math delimiters no longer working
- tex Preamble
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mdmath.