Coder Social home page Coder Social logo

Comments (3)

liffiton avatar liffiton commented on August 29, 2024

Well, you can configure MathJax to recognize math with any delimiters you like. Just setup the config string in the wiki configuration manager with the appropriate delimiters in inlineMath and/or displayMath. However, they won't be "protected" from rendering by the dokuwiki engine unless you edit the protecttex.php file as well with appropriate addEntryPattern and addExitPattern entries. Unfortunately, the plugin doesn't have a way to automatically register those.

from dokuwiki-plugin-mathjax.

gerardnico avatar gerardnico commented on August 29, 2024

Ok. Thanks for the tip. +1 for this one.

I have made the changes in this one:
https://github.com/gerardnico/dokuwiki-plugin-mathjax/blob/master/syntax/protecttex.php

from dokuwiki-plugin-mathjax.

liffiton avatar liffiton commented on August 29, 2024

It's a long time coming, but I just added a simple ability to specify custom tags to be "protected" from dokuwiki's rendering so they can be rendered by MathJax. It requires adding the delimiter to the MathJax configuration manually, so it's not fully automatic, but it is an easy setup and should work fine. The fix is in commit 7d96d4a.

from dokuwiki-plugin-mathjax.

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.