-
Notifications
You must be signed in to change notification settings - Fork 8.3k
[zh-cn] update 'how to write in markdown' #32820
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
Preview URLs (1 page) External URLs (1)URL:
|
PassionPenguin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
有几个地方有额外的更改,需要同步
还有更多内容(从 GFM Callouts 往后)因为前文乱序,后文有点难对上,我就没有看,可能也有部分修改
| 如果你希望高亮显示的语言未在上方列出,请使用 `plain` 标记代码块。也可以按照 [GitHub 讨论](https://github.com/orgs/mdn/discussions/170#discussioncomment-3404366)提出的流程请求其他语言的高亮支持。 | ||
|
|
||
| > [!NOTE] | ||
| > 请严格按照上述列表使用语言标识符。例如,`javascript` 是不被允许的,必须使用 `js`。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| > 请严格按照上述列表使用语言标识符。例如,`javascript` 是不被允许的,必须使用 `js`。 | |
| > 请严格按照上述列表使用语言标识符。例如,你不应使用 `javascript`,而必须使用 `js`。 |
| sourceCommit: 49f3eb321cf6a491c3bcef1c3590f9bf6f90c9b8 | ||
| --- | ||
|
|
||
| 本文介绍了如何使用 Markdown 来编写 MDN Web 文档项目中的文档。我们以 GitHub 风格的 Markdown(GFM)为基础,并添加了一些扩展来支持一些我们在 MDN 上需要而 GFM 仍不支持的东西。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| 本文介绍了如何使用 Markdown 来编写 MDN Web 文档项目中的文档。我们以 GitHub 风格的 Markdown(GFM)为基础,并添加了一些扩展来支持一些我们在 MDN 上需要而 GFM 仍不支持的东西。 | |
| 本文介绍了如何使用 Markdown 来编写 MDN Web 文档项目中的文档。我们以 GitHub 风格的 Markdown(GFM)为基础,并添加了部分扩展来支持一些我们在 MDN 上需要的特性。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
老师,原文L22-L24应当是一个段落,辛苦修改
On MDN we prefer to use inline links because they are easier to read and maintain without losing context. This is the preferred way to write links on MDN:
| @@ -34,21 +35,23 @@ GFM 规范定义了两种基础的链接类型: | |||
| [马卡龙]: https://zh.wikipedia.org/wiki/馬卡龍 | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个例子其实没掉了
| @@ -90,7 +94,7 @@ GFM 规范定义了两种基础的链接类型: | |||
| - `toml`——TOML | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
powershell- PowerShellwat- WebAssemblybash- Bash/Shellhbs- Handlebars templates
Description
Motivation
Additional details
Related issues and pull requests