129

So one feature that I really wish markdown had was support for really small tiny text. Which I just produced by using the <sup> tag. I think this could be implemented by using the caret symbol like so:

So this is normal text ^and this is tiny text^.

Is this a reasonable feature request? Also what ideas do you have for markdown expansion?

6
  • 11
    And how about <sub>? And <small>? IIRC the request to add <small> was denied. But you can (ab)use <sup><sub> for this.
    – user138231
    Jun 16, 2010 at 2:55
  • @BalusC: Well I just want tiny text in general. I wouldn't mind if they used my ^ symbol and just applied some CSS to make the text smaller. I don't really care if the text is actually above or below the normal text.
    – Kredns
    Jun 16, 2010 at 3:09
  • 7
    @Jon: WOW! I just looked at your edit and I can't believe I spelled it like that.
    – Kredns
    Jun 16, 2010 at 3:11
  • Haha, did you manage to grab any lettuce for your carrots? Jun 16, 2010 at 3:15
  • Already exists in WikiText.
    – neverMind9
    Jun 18, 2019 at 21:15

4 Answers 4

181

Workaround: have you tried combining the <sup> and <sub> tags?

If you layer them like this, <sub><sup>combining the two tags</sup></sub>, you get tiny text that's almost in line with the normal text. Nice for making very small caveats to your answers!

6
  • 5
    Thanks for the idea, but still thats a lot of typing!
    – Kredns
    Jun 16, 2010 at 3:39
  • 30
    Clever. For some reason I always pictured them canceling each other out, which is patent nonsense Jun 16, 2010 at 4:43
  • @Jared, What's the browser compatibility like?
    – Pacerier
    May 12, 2014 at 8:46
  • @MichaelMrozek Why is it patent nonsense? Still confused as to why exactly they don't. Oct 16, 2018 at 16:15
  • 1
    @Hashim They both make the text smaller, just the positioning is different, so nesting them is going to shrink the text twice Oct 16, 2018 at 16:23
  • 2
    Order is important here. <sup><sub>...</sub></sup> was a bit above center. The suggested <sub><sup>...</sup></sub> was more centered. Apr 25, 2019 at 16:40
56

<sub>+<sup> seems like a horrible answer, really. You're mangling your HTML markup to get a particular display style with completely different semantic meaning — and you're assuming default display implementations of <sub> and <sup> while you're at it.

I would love a <small> or "footnote" markdown syntax too (that's how I got here), but as far as I can tell, the only reasonable way to add it to your documents is using the HTML tag itself.

2
  • 10
    <Pedantry>Its not HTML markup its Markdown </Pedantry> Apr 6, 2012 at 15:55
  • 14
    Ha, well if you're using tags and not Markdown syntax, it's HTML. You can use both in the same context.
    – RobW
    Apr 6, 2012 at 20:52
51

Normal text
Small text
Tiny text
REALLY SMALL TEXT

is:

Normal text
<sub><sup>Small text</sup></sub>
<sub><sup><sub><sup>Tiny text</sup></sub></sup></sub>
<sub><sup><sub><sup><sub><sup><sub><sup><sub><sup><sub><sup><sub><sup><sub><sup>REALLY SMALL TEXT</sup></sub></sup></sub></sup></sub></sup></sub></sup></sub></sup></sub></sup></sub></sup></sub>
0
-6

see R Markdown - changing font size and font type in html output this works fine - small top link:

## <a name="Some-setup"></a>Somesetup [<font size="2">top</font>](#Content)
1

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .