# Equations in Marked2

#### 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. 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?

2. Support Staff 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.

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

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

-Brett

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

### »

#### 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 Blurs the current field

### Comment Form

r Focus the comment reply box Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

## Recent Discussions

 28 Sep, 2020 03:45 PM Bear & Markdown Metadata 28 Sep, 2020 07:26 AM PlantUML support directly or with some scripting 25 Sep, 2020 05:18 PM Marked 2 hangs while loading images 25 Sep, 2020 04:21 PM Bear underline 25 Sep, 2020 02:43 PM Fountain Preview of non-fountain text files.

## Recent Articles

 Using Ulysses with Marked Fenced code blocks inside indented code blocks Using JavaScript in Marked Custom CSS: Writing custom CSS for Marked License code has already been utilized