CommonMark Markdown 中的上标 + 超链接

问题描述

要在 commonmark Markdown 中添加上标,可以使用(根据 Dillinger.io):

LateInitializationError: Field 'wSettings' has not been initialized.

要创建链接,我会实施:

TESTWORD^GOOGLE^

但是将两者结合起来不起作用:

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

在 Dillinger.io/commonmark 中,这只是生成带有文本的上标

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

如何组合上标和链接

谢谢!

解决方法

The CommonMark spec 目前不支持上标(从 v0.29 开始)。

但是,看起来 Dillginger.io 确实支持使用以下格式的链接标签内的上标:

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