前言介紹
- 這款 WordPress 外掛「Markdown for P2」是 2012-07-05 上架。 目前已經下架不再更新,不建議安裝使用。
- 目前有 10 個安裝啟用數。
- 上一次更新是 2012-07-06,距離現在已有 4685 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 3.0 以上版本才可以安裝。
- 有 2 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
ryanimel |
外掛標籤
p2 | comments | markdown | formatting |
內容簡介
Markdown for P2 外掛可讓您在狀態更新和評論中使用 Markdown 標記。
如果您使用 P2 時間有一段時間,您可能會發現自己開始輸入 HTML。由於在 P2 上發布(或應該完全)發生在佈景主題的前端,默認情況下沒有可用的格式選項。因此,如果您想格式化列表,例如,您可能會誘惑開始輸入 ul 和 li 標記。或者添加會使介面變得雜亂的格式化按鈕。
Markdown for P2 是另一個選擇,可讓您在發佈至 P2 網站時使用 Markdown 格式。詳細了解 Markdown,請造訪 John Gruber 的網站。
致敬
當然,Markdown 是 John Gruber 的作品。
這個外掛幾乎全部是由 Michel Fortin 完成的(根據 GPL 發布,他的版權已包含在檔案中),但並未打包到 WordPress 官方外掛程式中,且並非專門為此而設計。該代碼的功勞歸屬於……
使用 Adam Backstrom 的程式碼,在此Github Gist上加入了 Markdown 支援。
Markdown 標誌(在橫幅圖像中)歸功於 Dustin Curtis 。 非常漂亮,對吧?
注意事項
從技術上講,此外掛適用於任何 WordPress 網站 - 它只是檢查 the_content 和 comment_text 是否有 Markdown - 但此外掛僅在 P2 上進行了測試。如果您有興趣在非 P2 博客上使用 Markdown,我建議使用Markdown on Save,我認為它在這種情況下提供更好的使用者體驗。
原文外掛簡介
Markdown for P2 will enable Markdown formatting within your status updates and comments.
If you use P2 for any stretch of time you might find yourself in a situation where you start typing out HTML. Since posting from P2 happens (or should) entirely from the front end of the theme, by default formatting options aren’t available. So if you want to format a list, let’s say, you might be tempted to start typing out ul and li tags. Or perhaps add formatting buttons that might clutter up the interface.
Markdown for P2 is another option, and will allow you to use the Markdown format when you post to P2. Learn more about Markdown at John Gruber’s site.
Kudos
Markdown, of course, is a John Gruber production.
This plugin is almost entirely the work of Michel Fortin (released under the GPL, his copyright is included in the file), but wasn’t bundled into a neat plugin on WordPress dot org, and not specifically for this purpose. The credit for that code goes to…
Markdown support added using Adam Backstrom’s code via this Github Gist.
Markdown logo (in banner image) credit to Dustin Curtis. Lovely, isn’t it?
Note
Technically this plugin will work with any WordPress site — it simply checks the_content and comment_text for Markdown — but this plugin is really only tested with P2. If you’re interested in using Markdown on your non-P2 blog, I’d recommend Markdown on Save which I think will provide a better user experience in that situation.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Markdown for P2」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
Advanced Editor Tools 》高級編輯工具(以前稱為 TinyMCE Advanced)引入了一個「經典段落」區塊,供區塊編輯器(Gutenberg)使用。, 如果您還沒有準備好切換到區塊編輯器,或者有插...。
Advanced Excerpt 》這個外掛可以改進 WordPress 原有的摘錄文章功能。, , 保留摘錄中的 HTML 標記,並可自選需要保留的標記, 按字元數或字數截斷摘錄, 只計算「真正的」文字(HT...。
Raw HTML 》is capability is only granted to administrators. If you’re not an admin, you will need to ask them to add it to your role., Raw HTML is not r...。
PS Disable Auto Formatting 》如果你受夠了 WordPress 自動格式化的習慣,可以試試這個外掛。, PS Disable Auto Formatting 停止 WordPress (wpautop) 的自動格式化,並修改由可視化編輯器...。
Toggle wpautop 》注意:此外掛不支援區塊編輯器,但當您在自訂文章類型中使用並搭配經典編輯器外掛時,應可繼續正常工作。, 在 WordPress 顯示文章內容之前,該內容會經過多個...。
TinyMCE Clear Float 》這個 WordPress 外掛會在 TinyMCE 編輯器中新增一個按鈕,可以清除浮動效果。。
Advanced Image Styles 》在 WordPress 的可視化編輯器中輕鬆調整圖片的邊界和邊框。。
footnotes 》footnotes 旨在成為顯示在頁面或文章上自動生成參考資料清單的全方位解決方案。該外掛內置了一組預設值,同時也允許您控制註腳的顯示方式。, footnotes 為您...。
Limit Modified Date 》警告:此外掛已不再受支援,可能無法與古騰堡區塊編輯器兼容。, 我建議改用 Change Last Modified Date 外掛。, 概要, 當對內容進行輕微更改時,避免修改日期...。
Aspose.Words – Import and Export word documents 》Aspose.Words 可讓網站管理員將 WordPress 的文章和頁面匯入和匯出為 Word DOCX、DOC 和 ODT 文件。它使用了非常強大的 Aspose.Words Cloud。, 可以將文檔匯...。
Advanced Rich Text Tools for Gutenberg 》這個外掛增加了以下功能:, , 在格式工具列中添加了代碼「code」、下標「sub」和上標「sup」按鈕。, 內嵌文字與背景顏色面板(目前在區塊側邊欄內尋找)。, ...。
WP-Syntax 》WP-Syntax 提供乾淨的語法突顯,使用 GeSHi,支援多種流行的語言,包括有或沒有行號的語法突顯,可以在從瀏覽器中複製程式碼片段時保持格式。, 它通過運行早...。
WP Super Edit 》重大更新即將到來!, 此外掛很快就會有一個重大更新。, WP Super Edit 的設計目的是掌控 WordPress 的所見即所得(WYSIWYG)視覺編輯器,並透過添加更多按鈕...。
WP Typograph Lite 》這個外掛WP Typograph Lite適用於大多數俄語博客,旨在根據俄語印刷標準自動格式化文本。它處理所有主要內容塊-標題、文章和頁面文本、評論。格式化是在頁面...。
Footnotes Made Easy 》Footnotes Made Easy 是一個簡單而強大的方法,可將註腳添加到您的文章和頁面中。, 主要功能包括:, , 透過雙括號簡單插入註腳, 合併相同註腳, 用於分頁文章...。