2

I tried:

# This is a header <span style="font-size:small;">[link_name]</span>

and got this:

This is a header link_name

but I want link_name to be at a smaller font.

At vs code this works, but at github it doesn't.

Any suggestions?

Thanasis Mattas
  • 484
  • 4
  • 16

1 Answers1

1

That does not seem to be supported, for the same reason mentioned in "How to apply color in Markdown?"

Markdown’s formatting syntax only addresses issues that can be conveyed in plain text.

Within an header (level 1: #), you can have only "plain text".

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • Accepted. But, when more than one # are prepended to the header, the font gets smaller, so maybe there is a get-around somehow. Anyway, thanks! – Thanasis Mattas Aug 11 '19 at 10:24
  • @Thanasis I don't see the font getting smaller around link name. As see the font getting smaller at the header level, since level 3 is smaller than level 2 which is smaller than level 1 header. – VonC Aug 11 '19 at 20:39