Superscript + Hyperlink in CommonMark markdown

972 views Asked by At

To superscript in CommonMark Markdown, one would use (according to Dillinger.io):

TESTWORD^GOOGLE^

To create a link, I would implement:

[GOOGLE](https://www.google.com)

But combining the two does not work:

TEST^[GOOGLE](https://www.google.com)^

In Dillinger.io / CommonMark, this simply yields a superscript with the text

[GOOGLE](https://www.google.com). 

How can I combine the superscript and the link?

Thanks!

1

There are 1 answers

0
Colin O'Dell On BEST ANSWER

The CommonMark spec does not currently support superscript (as of v0.29).

However, it looks like Dillginger.io does support superscript inside of link labels using formatting like this:

TEST[^GOOGLE^](https://www.google.com)