fex-team / styleguide

文档与源码编写风格
Creative Commons Attribution 4.0 International
2.54k stars 853 forks source link

我在我的翻译项目中引用了各位大神的Markdown代码规范。 #14

Closed qiansen1386 closed 10 years ago

qiansen1386 commented 10 years ago

感谢 fex 团队对代码标准化所做的努力。由于没有协议文件,故此我引用时来这里报备一下。

物证在此: https://github.com/yii2-chinesization/yii2-zh-cn/blob/48984798ab024b7e01b8d44b6014f6ff9021d6fe/markdown-code-style.md

目前是开发分支是rc-proposal将来可能会并为master,所以提供的是sha的历史链接。请多多指教。

nwind commented 10 years ago

哈,谢谢通知,目前这个规范还在整理中,预计还会新增一些建议,请继续关注,版权我打算用 CC BY 4.0。

qiansen1386 commented 10 years ago

Here's an example:

function test() {
  console.log("notice the blank line before this function?");
}

Keep in mind that, within lists, you must indent non-fenced code blocks eight spaces to render them properly.


nwind commented 10 years ago

第一个问题没注意过,貌似没问题啊。

第二个问题配置一下输入法就好了,不算麻烦,目前看来大家接受度很高,所以问题不大。

第三个问题就是因为没搞懂怎么内嵌所以才没加例子的。。。谢谢提供方法:)

qiansen1386 commented 10 years ago

大神客气,很高兴能帮上忙。