內容簡介
評論表單會允許一些 HTML,此外掛會擴展它,讓使用者可以輸入 Markdown 並自動轉換成 HTML。它還擴展了 GitHub 做為兩個熱門功能的 Markdown。轉換從Markdown到HTML是完全自動化的,不需要評論者任何操作。
GitHub 的功能新增為:
單行換行符視為換新段落
用三個反引號(“`)標註程式碼
GitHub 的 Markdown 處理缺少兩個著名的特點:
待辦清單:好的實現方式需要一些前端互動,因此我認為,這個插件範圍至少目前不包括它
存放庫自動連結 (例如評論、問題等):它们似乎太依賴 GitHub
GitHub-Flavored Markdown Comments 插件,不出所料,是在 GitHub 上開發的。
外掛標籤
開發者團隊
② 後台搜尋「GitHub-Flavored Markdown Comments」→ 直接安裝(推薦)
原文外掛簡介
Comment forms allow some HTML, this plugin extends that to let users type in Markdown and have it automatically converted to HTML. It also extends Markdown with a couple features made popular by GitHub. Conversion from Markdown to HTML is completely automated and doesn’t require anything on the commenter’s part.
The feature additions from GitHub are:
Single linebreaks are treated as new paragraphs
Code “fencing” with three backticks (“`)
Two notable features from GitHub’s Markdown implementation are missing:
To do lists: Doing these well would require some front end interaction, which I decided is outside the scope of this plugin at least for now
Repository autolinking (e.g. comments, issues, etc): These seemed a little too GitHub-specific.
GitHub-Flavored Markdown Comments is developed, unsurprisingly, on GitHub.
