Code Monkey home page Code Monkey logo

Comments (5)

bilderbuchi avatar bilderbuchi commented on June 16, 2024

@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.

goessner avatar goessner commented on June 16, 2024

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.

bilderbuchi avatar bilderbuchi commented on June 16, 2024

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.

goessner avatar goessner commented on June 16, 2024

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.

bilderbuchi avatar bilderbuchi commented on June 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.