-
Notifications
You must be signed in to change notification settings - Fork 86
Enhancement: Mathjax format for Doxygen #125
Comments
@Aeon512 Really glad your giving MPP a runaround, and thanks so much for using it. On your two feature requests:
Thanks again @Aeon512. |
@Galadirith Thanks a lot for your answer. Regarding the feature requests
Let me know if I should test or verify something, or if you need further input. |
@Aeon512 Ah ok I understand, I really apologise I didn't have time earlier to properly go over your link to the Doxygen syntax. So its still possible, although a little harder than I had previously thought. I've had a quick go at doing this specifically for This would need a little tweaking to get it to work for any valid environment, but its definitely possible. I really apologise for not being able to give a more constructive solution right now, but I will be able to take a proper look at this over the weekend. Thanks @Aeon512. |
@Galadirith Sorry for the delay. You absolutely do not have to apologize. I'm much more impressed how fast I've got your answer. Moreover already a patch which guides me into the right direction. Will check it out over the weekend and let you know. The workaround for Thanks a lot for your great support @Galadirith |
@Galadirith Thanks a lot for the gist, it works without any problems Off-Topic: |
Thanks @Aeon512. So I had an opportunity to briefly test it myself and I did actually notice a problem. When I added this line I didn't realise that this actually overwrites the previous functionality on this line (please don't worry if that means nothing to you, it's more for my own reference). I've updated the gist (now at version 5) that I believe fixes this and also now allows you to use any environment, not just I realise this is not a permanent solution, but I hope for now this does fulfil what you wanted, and please let me know how it works. I need to spend some more time thinking on how (if at all) this feature could be generalized and how to fit it in with the rest of the package to provide a good user experience.
Again, most definitely possible. My thoughts would be we can write a simple plugin for our markdown parser Thanks again @Aeon512. |
For later reference, I think this issue should be covered by a more general issue providing the ability for end users to add and manage their own @Aeon512 Just to ping you and let you know this hasn't been forgotten. As always please ping us if you have any questions, issues or thoughts. |
Looking into it, this seems out of scope to me. If anyone wants to make markdown-it plug-ins to support Doxygen syntax, feel free to do so, I will be happy to include those with MPP. I have neither resources nor motivation to write those myself though. |
Hi,
we are writing our doxygen documentation with markdown and mathjax.
However, the way formulas are treated by Doxygen differs from the way formulas are treated by markdown-preview-plus, as seen here
Would it be possible to add a configuration option to be able to switch between those two variants?
As a workaround I hacked in
markdown-it-helper.coffee
and changedwhich helps a bit, but for
\f{eqnarray}
it needs some more tweaking and I got lost.Moreover, since we have already installed MathJax on a local server in the intranet, it would be a nice option to specify the URL to use this MathJax installation instead of downloading the
mathjax-wrapper
package.The text was updated successfully, but these errors were encountered: