Equations in Marked2
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
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
1 Posted by bibbs1000 on 02 Sep, 2016 05:58 AM
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?
Support Staff 2 Posted by Brett on 02 Sep, 2016 12:22 PM
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 Posted by bibbs1000 on 02 Sep, 2016 05:33 PM
That solved it, thank-you. It is the "raw source" markdown character in Ulysses that must preface the equation. It is the tilde ~ character.
Support Staff 4 Posted by Brett on 02 Sep, 2016 05:48 PM
Thanks for the reminder :). Glad it's working out.
-Brett