Markdown注释和反斜线转义 语法

本文介绍了如何使用Markdown进行内容隐藏,通过HTML注释来排除部分内容不被渲染。同时,讲解了如何使用反斜线来忽略Markdown格式化,避免特殊字符被解析。详细参考Daring Fireball的Markdown语法和GitHub Docs的相关指南。

Markdown注释和反斜线转义 语法

comment and backslash escapes

Hiding content with comments

We can hide content from the rendered Markdown by placing the content in an HTML comment.

<!-- This content will not appear in the rendered Markdown -->

Ignoring Markdown formatting

We can ignore (or escape) Markdown formatting by using \ before the Markdown character.

Let's rename \*our-new-project\* to \*our-old-project\*.

Rendered escaped character

For more information, see Daring Fireball’s “backslash escapes - Markdown Syntax.”

References

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值