Subscript text

sahilagnihotri's Avatar

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 1 Posted by Brett on 11 Oct, 2013 12:34 PM

    Brett's Avatar

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

    -Brett

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

    Asaf's Avatar

    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. 3 Posted by Asaf on 21 Feb, 2014 03:06 AM

    Asaf's Avatar

    Installing MMD 4.5.2 solved the problem.

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

    Brett's Avatar

    Are you using a custom processor?

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

    Asaf Keller's Avatar

    Indeed, installing MMD 4.5.2 solved the problem. Thanks,

    Asaf

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

    Asaf's Avatar

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

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

    Brett's Avatar

    That sounds like an MMD issue, right?

    - Brett

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

    Asaf's Avatar

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

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

    Brett's Avatar

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

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

    Christopher Jones's Avatar

    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 11 Posted by Brett on 02 Oct, 2014 10:59 PM

    Brett's Avatar

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

    -Brett

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

    Christopher Jones's Avatar

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

    Thanks!

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

    Brett's Avatar

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

    -Brett

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

    Asaf's Avatar

    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 15 Posted by Brett on 18 Dec, 2014 08:45 PM

    Brett's Avatar

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

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

    Asaf Keller's Avatar

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

    Asaf

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