JSXGraph support?

jarnleikr's Avatar


28 Aug, 2013 08:06 PM

Seems like JSXGraph would be natural companion to MathJax in Marked.

And I second the suggestion to export MathJax in HTML (and JSXGraph of course)

  1. Support Staff 1 Posted by Brett on 28 Aug, 2013 08:29 PM

    Brett's Avatar

    It's easy enough to include, but you're the first person ever to ask for it. The repos seem out-of-date and I have no idea how many Marked users even know what it is (I didn't). It may be something you're better off just including in a file. This chunk works great if you just drop it into a Markdown file: https://gist.github.com/62b18c209404a15a8844

    I'll wait, though, and see if anyone piles on before I make a decision.


  2. 2 Posted by jarnleikr on 29 Aug, 2013 02:25 AM

    jarnleikr's Avatar

    Fair enough :)

    As I've mentioned elsewhere I found a use for Marked as a presentation tool. In educational presentations there is a need to display math-related graphics.
    Having MathJax and no graphs etc., feels like having text without images.

    But I see the problem of blending to much "noise" into the Markdown environment…
    Perhaps a plugin system or code injection system for future versions? Without ruining the beautiful simplicity of Marked.


  3. Support Staff 3 Posted by Brett on 29 Aug, 2013 02:40 AM

    Brett's Avatar

    Yeah, I've toyed with the idea of letting users add scripts similar to the way you add custom styles, but I haven't figured out the best way to handle export, as well as the unpredictability of code conflicts. Marked is heavily JavaScript-reliant, and some core features could be compromised by randomly included code… just bad for user experience, not so much a problem of data destruction or anything.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac