Marked App Won't Render Math

Royi's Avatar

Royi

02 Dec, 2014 07:10 AM

Hello,

I have a document which is rendered in StackEdit yet I can't see the math in Marked.

I enabled the Math support and tried the different setting yet it seems it won't render math written in "New Line" (Namely with '$$ Math Code Here SS'.

Moreover,
Why there's no option to restore default settings?

Thank You.

  1. Support Staff 1 Posted by Brett on 02 Dec, 2014 05:07 PM

    Brett's Avatar

    Do you have a space between the $$ and your equation's first character? The processor requires that it be formatted without. Inline equations should work with ${e}^{i\pi } 1=0$, and standalone equations should work with:

     $${e}^{i\pi } 1=0$$
    

    I'm testing with the configuration set to "default" and no additional config options. To be sure the Tex support is added, you can also include:

    tex2jax: {
      inlineMath: [ ['$','$'], ["\\(","\\)"] ],
      processEscapes: true
    }
    

    In the Additional MathJax options field.

  2. 2 Posted by Royi on 02 Dec, 2014 06:51 PM

    Royi's Avatar

    I will try with no space (Though it works in StackEdit).

    Could you explain the different modes available?

  3. Support Staff 3 Posted by Brett on 02 Dec, 2014 07:24 PM

    Brett's Avatar

    I cannot. I've never in my life needed to write an equation and know
    absolutely nothing about how it all works. I just had so many people
    asking for configuration options that I made everything that MathJax
    allows available. If you can find a Hub.config option that makes it
    behave the way you want, you can just add it to the Additional options.

    -Brett

  4. 4 Posted by Royi on 02 Dec, 2014 07:45 PM

    Royi's Avatar

    I see.
    Could you remove this '$$' sensitivity, namely being able to use it with space?

  5. Support Staff 5 Posted by Brett on 02 Dec, 2014 08:04 PM

    Brett's Avatar

    Nope. I have to leave it up to you to find a configure option for that. I provided the extensibility so that people could do what they needed. Everyone wants something different.

    This is my iPhone. There are many like it, but this one is mine.

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

Generic

? 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