【🆘回归项目,勿改】🍑自定义域名-4-自动证书
  1. Commonmark 测试用例
【🆘回归项目,勿改】🍑自定义域名-4-自动证书
  • 引用其他接口、项目、模型、图片测试
  • Markdown 基础样式
  • Markdown 为了支持 mdx 需要调整的
  • TailwindCSS 样式支持
  • 自定义样式 TailwindCSS
  • Commonmark 测试用例
    • 1. 遵守的规范
    • 2.4 反斜杠转义
    • 2.5 实体和数字字符引用
    • 4.1 Thematic breaks
    • 4.2 ATX headings
    • 4.3 Setext headings
    • 4.4 Indented code blocks(mdx 不支持了)
    • 4.5 Fenced code blocks
    • 4.5 Fenced code blocks 2
    • 4.6 HTML blocks (mdx 完全代理行为,行为有巨大差异,不同编辑器内核都有很大差异)
    • 4.6 HTML blocks (显示正常)
    • 4.7 Link reference definitions (autolink 相关的行为会影响规范)(mdx 去掉 autolink 支持)
    • 4.8 Paragraphs
    • 4.9 Blank lines
    • 5.1 Block quotes
    • 5.1 Block quotes 2
    • 5.2 List items
    • 5.3 Lists
    • 6.1 Code spans
    • 6.1 Code spans Copy
    • 6.2 Emphasis and strong emphasis
    • 6.3 Links
    • 6.4 image
    • 6.5 Autolinks (mdx 不支持了)
    • 6.6 Raw HTML (mdx不再支持)
    • 6.7 Hard line breaks
    • 6.8 Soft line breaks (remark-break 改变了行为)
    • 6.9 Textual content
  • 组件
    • 告示&高亮块
    • 选项卡
    • 数据模型
    • 折叠块&折叠组(手风琴)
    • Tooltip & Video
    • 卡片&卡片组
    • 多列-Columns
    • Frame
    • 步骤
  • Commonmark 测试用例 in Mdx
    • 1. 遵守的规范
    • 2.4 反斜杠转义
    • 2.5 实体和数字字符引用
    • 4.1 Thematic breaks
    • 4.2 ATX headings
    • 4.3 Setext headings
    • 4.4 Indented code blocks(mdx 需要调整的写法)
    • 4.5 Fenced code blocks
    • 4.5 Fenced code blocks 2
    • 4.6 HTML blocks (mdx 完全代理行为,行为有巨大差异,不同编辑器内核都有很大差异)
    • 4.6 HTML blocks (显示正常)
    • 4.7 Link reference definitions (autolink 相关的行为会影响规范)(mdx 去掉 autolink 支持)
    • 4.8 Paragraphs
    • 4.9 Blank lines
    • 5.1 Block quotes
    • 5.1 Block quotes 2
    • 5.2 List items
    • 5.3 Lists
    • 6.1 Code spans
    • 6.1 Code spans Copy
    • 6.2 Emphasis and strong emphasis
    • 6.3 Links
    • 6.4 image
    • 6.5 Autolinks (mdx 不支持了)
    • 6.6 Raw HTML (mdx不再支持)
    • 6.7 Hard line breaks
    • 6.8 Soft line breaks (remark-break 改变了行为)
    • 6.9 Textual content
  • GFM 扩展
    • 表格(拓展)
    • 任务列表项(拓展)
    • 删除线 (拓展)
    • 自动链接 (拓展)
  • 开发时候发现的mdx 与 规范不符合的行为
    • 引用
  • 宠物
    • 查询宠物详情
    • 删除宠物信息
    • 新建宠物信息
    • 修改宠物信息
    • 根据状态查找宠物列表
  1. Commonmark 测试用例

6.5 Autolinks (mdx 不支持了)

以下是一些有效的自动链接:

Example 594Try It
示例594试一试
http://foo.bar.baz

http://foo.bar.baz

Example 595Try It 例如:试试看

https://foo.bar.baz/test?q=hello&id=22&boolean

Example 596Try It 例如:试试看

irc://foo.bar:2233/baz

Uppercase is also fine: 大写字母也可以:

Example 597Try It
例句:试试看
MAILTO:FOO@BAR.BAZ

MAILTO:FOO@BAR.BAZ

Note that many strings that count as absolute URIs for purposes of this spec are not valid URIs, because their schemes are not registered or because of other problems with their syntax: 请注意,对于本规范而言,许多被视为绝对URI的字符串都不是有效的URI,因为它们的方案没有注册,或者因为它们的语法存在其他问题:

Example 598Try It
例如:试试看
a+b+c:d

a+b+c:d

Example 599Try It 例句599试一下

made-up-scheme://foo,bar

Example 600Try It 第600章试一试

https://../

Example 601Try It 例601试一试

localhost:5001/foo

Spaces are not allowed in autolinks: 自动链接中不允许使用空格:

Example 602Try It
例602试一试
<https://foo.bar/baz bim>

<https://foo.bar/baz bim>

Backslash-escapes do not work inside autolinks: 反斜杠-转义在自动链接中不起作用:

Example 603Try It
例句603试一下
https://example.com/\[\

https://example.com/\[\

An email autolink consists of <, followed by an email address, followed by >. The link’s label is the email address, and the URL is mailto: followed by the email address. 电子邮件自动链接由 < 、电子邮件地址和 > 组成。链接的标签是电子邮件地址,URL是 mailto: ,后跟电子邮件地址。

An email address, for these purposes, is anything that matches the non-normative regex from the HTML5 spec:
对于这些目的,电子邮件地址是与HTML5规范中的非标准化正则表达式匹配的任何内容:

/^[a-zA-Z0-9.!#%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])? (?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*/
Examples of email autolinks:
电子邮件自动链接的示例:

Example 604Try It
例句604试试看
foo@bar.example.com

foo@bar.example.com

Example 605Try It 例句605试一试

foo+special@Bar.baz-bar0.com

Backslash-escapes do not work inside email autolinks: 反斜杠-转义在电子邮件自动链接中不起作用:

Example 606Try It
例句606试一试
<foo+@bar.example.com>

<foo+@bar.example.com>

These are not autolinks: 这些不是自动链接:

Example 607Try It
例句607试一下
<>

<>

Example 608Try It 例句608试一试 < https://foo.bar >

< https://foo.bar >

Example 609Try It 例609试一试

<m:abc>

Example 610Try It 例句:试一下

<foo.bar.baz>

Example 611Try It 例句:试一下 https://example.com

https://example.com

Example 612Try It 试试看 foo@bar.example.com

foo@bar.example.com

修改于 2024-04-17 03:10:13
上一页
6.4 image
下一页
6.6 Raw HTML (mdx不再支持)
Built with