Equations in Marked2

bibbs1000's Avatar

bibbs1000

02 Sep, 2016 05:48 AM

I am having difficulty with figuring out MathJax syntax and what the right settings in Marked 2 preferences should be (I believe the documentation and screenshots are actually showing Marked version 1).

After a lot of trial and error, I got many parts of equations to display including superscripts and subscripts. However, I can not get non-standard characters to show such as the sum symbol, fraction symbol or square root symbol. In there place i get something like "frac16 3" when it should be printing 16 over 3.

Are there particular settings I must use? Not sure if it has any impact, but the text is coming from Ulysses.app

  1. 1 Posted by bibbs1000 on 02 Sep, 2016 05:58 AM

    bibbs1000's Avatar

    I have partially answered my own question. I find that if I copy the equation text in Ulysses and do a clipboard preview in Marked2 that it does render the symbols correctly. So something is getting screwed up as it comes over from Ulysses.app Any ideas?

  2. Support Staff 2 Posted by Brett on 02 Sep, 2016 12:22 PM

    Brett's Avatar

    Ulysses escapes the brackets/dollar signs you use as boundaries when exporting. There's a syntax in Ulysses that I'm forgetting at the moment, but it's for "raw text". Find that in the mark-up list and use it around equations, and it should fix the issue.

    -Brett

  3. 3 Posted by bibbs1000 on 02 Sep, 2016 05:33 PM

    bibbs1000's Avatar

    That solved it, thank-you. It is the "raw source" markdown character in Ulysses that must preface the equation. It is the tilde ~ character.

  4. Support Staff 4 Posted by Brett on 02 Sep, 2016 05:48 PM

    Brett's Avatar

    Thanks for the reminder :). Glad it's working out.

    -Brett

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