# Subscript text

#### sahilagnihotri

11 Oct, 2013 10:31 AM

Is there an option to add text as subscript or superscript in marked ?

Thanks
Sahil

1. Support Staff Posted by Brett on 11 Oct, 2013 12:34 PM

In Marked 2 you can use ^super and ~sub for this.

-Brett

2. Posted by Asaf on 20 Feb, 2014 01:26 PM

I am using ^ to designate superscript, and ~ for subscript, as specified in the MMD syntax guide, and in the this thread. When text is entered thus in Scrivener, and previewed in Marked, subscripts are formatted correctly, but superscript are rendered as subscripts.

When the same text is pasted in MultiMarkdown Composer, the sub- and superscripts are rendered correctly.

Any ideas? I posted this also in the Scrivener forum.

Scrivener 2.5; Marked 2.2

3. Posted by Asaf on 21 Feb, 2014 03:06 AM

Installing MMD 4.5.2 solved the problem.

4. Support Staff Posted by Brett on 21 Feb, 2014 03:14 AM

Are you using a custom processor?

5. Posted by Asaf Keller on 21 Feb, 2014 03:17 AM

Indeed, installing MMD 4.5.2 solved the problem. Thanks,

Asaf

6. Posted by Asaf on 25 Jun, 2014 11:34 AM

Subscript syntax no longer seems to work using MMD 4.5.3, MultiMarkdown Composer 2.6.9 (53). Any ideas?

7. Support Staff Posted by Brett on 25 Jun, 2014 11:40 AM

That sounds like an MMD issue, right?

- Brett

8. Posted by Asaf on 25 Jun, 2014 11:59 AM

Indeed; I will hurl this at Fletcher. Thought you might have a solution handy...

9. Support Staff Posted by Brett on 25 Jun, 2014 01:15 PM

I could be wrong, of course, but I didn't change anything in Marked that
should affect it (that I can think of).

10. Posted by Christopher Jon... on 02 Oct, 2014 10:46 PM

I am trying to do verse and stanza numbering for a translation project using superscripts... having trouble. I can't seem to make a lonely number super by surrounding it with carats. Advice?

11. Support Staff Posted by Brett on 02 Oct, 2014 10:59 PM

Superscript syntax only works when it immediately follows another
character, e.g. "hello^1"

-Brett

12. Posted by Christopher Jon... on 02 Oct, 2014 11:02 PM

is there an invisible character i could use that would work?

Thanks!

13. Support Staff Posted by Brett on 02 Oct, 2014 11:08 PM

Not that I know of, but you can always just use HTML tags (<sup> and
<sub>)

-Brett

14. Posted by Asaf on 18 Dec, 2014 05:49 PM

Subscript rendering of multimarkdown (MMD) is acting up again. I installed the latest versions of MMD (4.6), ad Marked 2 (2.4.8). Subscript (~) is rendered correctly in Multimarkdown Composer, but appears as superscript in Marked 2. Similarly, <sub> is rendered by Marked as superscript. Any ideas?

15. Support Staff Posted by Brett on 18 Dec, 2014 08:45 PM

I'm not seeing this issue at all. What you're describing sounds like a
CSS issue. Are you using any custom themes?

16. Posted by Asaf Keller on 19 Dec, 2014 12:59 PM

Yes, I was using the Custom Example style. Subscript render correctly in other styles.
Thanks,

Asaf

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

 21 Feb, 2020 11:32 PM Option to use MathJax 3? 20 Feb, 2020 03:12 PM Regular crashes 13 Feb, 2020 09:22 PM Markdown Formatting 11 Feb, 2020 11:53 AM Custom themes not working 10 Feb, 2020 06:48 PM KaTex Preview Update

## Recent Articles

 Using JavaScript in Marked Custom CSS: Writing custom CSS for Marked License code has already been utilized Highlight sentences longer than a certain number of words How do I retrieve a lost license (direct version)