前言介紹
- 這款 WordPress 外掛「Markdown Comment Block」是 2021-06-24 上架。
- 目前有 400 個安裝啟用數。
- 上一次更新是 2024-07-14,距離現在已有 294 天。
- 外掛最低要求 WordPress 5.7 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 7.0 以上。
- 有 1 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
block | blocks | comments | markdown | gutenberg |
內容簡介
只顯示於區塊編輯器的評論
我喜歡在 Ulysses 本地或使用 我的部落格 的 Iceberg 編輯器 草擬文章。雖然我很喜歡 Iceberg,但當我發布一篇文章時,我通常會切回預設的 Gutenberg 編輯器 - 這將刪除之前添加的任何評論。
有能力在文章中添加和保留任何相關的編輯評論,而不在前端呈現,意味著我可以自由地隨時記錄任何想法,而不需要多想它。這就是自然而然的方便。
了解有關 Markdown Comment 的更多信息 →
Markdown Comment 的有趣之處:
1.僅供編輯器使用
該區塊僅在編輯器中呈現。對於閱讀此文的開發人員,這意味著沒有保存功能。我不希望我的未完成的想法、提醒和筆記出現在我的文章中--即使它們被 CSS 隱藏。
2.有用的區塊轉換
我添加了一些轉換,從標題和段落到評論,以及快捷鍵當您輸入 %% 並按下 [空格] 鍵時。這讓我可以快速添加評論,甚至將整個段落或標題轉換為評論。
3.輕鬆解決評論
為支持簡單性的路徑,我希望能有一種快速解決(即驅逐)評論的方法。因此,我添加了一個工具列控制,以快速解決評論,並刪除整個區塊。
4.無豐富文本支援
評論需要對編輯影響最小,並盡可能自然。這就是為什麼沒有典型的 RichText 控制(雖然您仍然可以加粗、斜體和添加超鏈接)。而且,您可以更改評論的顏色--沒有其他排版控制。
5.完全支援 CSS 變量
全球樣式和完整的站點編輯正在為主題開啟通往 CSS 變量的大門。區塊應該以相同的心態進行設計,這正是我在這裡做的。我添加了一些簡單的 CSS 變量,帶有預設值。若要進一步設計此評論,無需使用類別覆蓋任何樣式,只需編寫幾個 CSS 變量即可。
原文外掛簡介
Comments that only render in the block editor
I honestly enjoy drafting articles either locally in Ulysses, or on my blog using the Iceberg Editor. While I do love Iceberg, once I publish an article I typically bring back the default Gutenberg experience — thus removing any comments I previously added.
Having the ability to add, and keep, any relevant editing comments within my posts, without rendering them on the front-end, means that I am freed up to mentally jot any idea down without thinking about it. It is simply natural and convenient.
Learn more about Markdown Comment →
What’s interesting about Markdown Comment:
1. Editor only
The block only renders within the editor. For developers reading this, that means there’s no save function. I don’t want my unfinished ideas, reminders, and notes rendered within my post – even if they’re hidden by CSS.
2. Helpful block transforms
I added a couple transforms, to and from headings and paragraphs, and a raw shortcut when you type %% and hit the [space] key. This lets me quickly add comments, and even convert whole paragraphs or headings to a comment.
3. Easily resolve comments
To support that path towards simplicity, I wanted a method to quickly resolve — i.e. banish — a comment entirely. So, I added a toolbar control to quickly resolve the comment, removing the block entirely.
4. No rich text support
Comments need to have minimal impact on editing, and feel as natural as possible. That’s why there are no typical RichText controls (although you can still bold, italicize and add hyperlinks). And while you can change the color of the comment — there are no other typographic controls.
5. Entirely CSS Variable ready
Global styles and full site editing are opening the door for themes to be heavily powered by CSS variables. Blocks should be designed with that same mentality, which is exactly what I did here. I added simple CSS variables with fallbacks that are the default values. To further theme the comment, there’s no need to override any styles with classes, just write a few CSS variables.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Markdown Comment Block」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
0.1.0 | 0.1.1 | 0.1.2 | 0.1.3 | 0.1.4 | 0.1.5 | 0.1.6 | 0.1.7 | 0.1.8 | 0.1.9 | 1.0.0 | trunk |
延伸相關外掛(你可能也想知道)
WP Githuber MD – WordPress Markdown Editor 》一個全方位的 WordPress Markdown 外掛程式,提供多種功能,包括 Markdown 編輯器、即時預覽、圖片貼上、HTML 到 Markdown 換算工具等等。, 如需詳細資訊,請...。
Import Markdown – Versatile Markdown Importer 》Import Markdown 讓您輕鬆地基於 Markdown 檔案生成文章。, Ultimate Markdown, 我們也運行一個WordPress外掛,將Markdown整合進區塊編輯器中。如需更多信息...。
WP Mermaid 》使用mermaid.js,以類似 Markdown 的方式從文本生成圖表和流程圖。, WP Mermaid 足夠智能,只會在文章中包含 Mermaid 語法的時候加載 mermaid.js,通過檢測短...。
WP-Markdown 》這個外掛允許您使用 Markdown 語法來撰寫任何文章類型的文章。在儲存文章之前,外掛會將 Markdown 轉換為 HTML。編輯文章時,外掛會將其轉換回 Markdown 語法...。
WP Editor.md – The Perfect WordPress Markdown Editor 》WP Editor.md是一款美觀且實用的Markdown文件編輯器。, 使用Editor.md提供WordPress支持。, 此外掛使用WordPress Jetpack中的Markdown模組進行內容的解析和保...。
Ultimate Markdown – Markdown Editor, Importer, & Exporter 》Ultimate Markdown 是一個 WordPress 外掛,可以讓您使用流行的 Markdown 語法來創建 WordPress 文章。, 安裝這個外掛後,您可以:, , 從現有的 Markdown 檔...。
WP Markdown Editor (Formerly Dark Mode) 》如果你想在 WordPress 快速編輯內容,而不用考慮區塊,那麼 WP Markdown Editor 就是您的完美選擇!使用最酷的編輯器-WP Markdown Editor,獲取身臨其境、寧...。
Markup Markdown 》這個外掛可以在編輯頁面上將 Gutenberg 區塊編輯器(或經典的 TinyMCE 編輯器)替換為基於 CodeMirror 的 Markdown 編輯器 EasyMDE。, 內容以 Markdown 語法...。
Todo List Block 》易於編輯的區塊, 在進行這個項目時,我探索了一些可以改善個人發布流程的地方。其中一個地方是使用我的Markdown Comment區塊,將編輯者的評論帶入Gutenberg之...。
Markdown Editor 》Markdown Editor會將預設的WordPress編輯器替換為一個Markdown編輯器,供您在文章和頁面中使用。此外,該外掛使用Jetpack Markdown模組將Markdown轉換為HTML...。
Documents from Git 》官方文件: https://github.com/gis-ops/wordpress-markdown-git, 這個WordPress外掛讓您能夠輕鬆地從您最喜愛的遠端Git平台上發布、協作和版本控制您的[...。
Git it Write – Write posts from GitHub 》Git it Write允許將存儲在Github存儲庫中的markdown文件發布到您的WordPress網站中。因此,使用此外掛程序,當存儲庫中添加、更新文件時,WordPress文章將相...。
WP Gatsby Markdown Exporter 》這個外掛可以建立包含已轉換為 Markdown 格式的文章的 zip 檔案。此外,還可以使用 WP-CLI 命令進行網站的大量內容匯出。其他的功能包括:, , - 將 WordPress...。
External Markdown 》這是一個 WordPress 外掛,可使用短碼 [external_markdown] 從外部網站(例如 GitHub、GitLab 等)嵌入 Markdown 文件到 WordPress 內容中。可能的使用情況是...。
Mytory Markdown 》ugin allows you to convert Markdown files to HTML and display them in your post content. You can provide a URL for the Markdown file, like a GitHub...。