[WordPress] 外掛分享: WYSIWYG Inline Code Command

首頁外掛目錄 › WYSIWYG Inline Code Command
100+
安裝啟用
★★★★
4.7/5 分(7 則評價)
4093 天前
最後更新
問題解決
WordPress 3.0+ v2.0 上架:2011-07-14

內容簡介

WYSIWYG Inline Code Command 外掛為視覺化的文章或頁面編輯器加入了一個「內嵌代碼」指令,就像「粗體」或「斜體」指令一樣。但這個指令讓你的文字看起來像代碼。通常,這意味著使用等寬字型像 這樣。此指令可透過按鈕或快捷鍵 Alt-Shift-C 進行存取。

未修改的編輯器會提供類似的 pre 樣式,但它是一個區塊樣式,這意味著您只能將其應用於整個段落。我撰寫此外掛的原因是,我發現我經常需要將代碼樣式應用於較短的電腦內容,例如上方的 Alt-Shift-C。

我鼓勵您提供此插件的反饋意見。有關兼容性的評價尤其有助於讓人們安心地安裝它。謝謝!

WYSIWYG Inline Code Command 插件僅提供此一功能,因此不要期望它經常更新。我知道其中一個問題是,編輯器中描述此指令的用戶可見文本尚未本地化,但我不知道該如何解決。

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「WYSIWYG Inline Code Command」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

The WYSIWYG Inline Code Command plugin adds an “inline code” command to the
WYSIWYG (visual) post and page editor. It’s just like the “Bold” or “Italics”
commands, except that it makes your text look like code — usually, this means
that it’s drawn in a monospace font like this. The comand is accessible as a
button and with the keybinding Alt-Shift-C.
The unmodified editor does provide a pre style that’s somewhat similar, but
it’s a block style, which means that you can only apply it to whole
paragraphs. I wrote this plugin because I found that I often want to apply
code styling to shorter pieces of computer-y content, such as the
Alt-Shift-C above.
I encourage you to provide feedback about this plugin. Entries on the
compatibility matrix are especially helpful so that people can feel confident
installing it. Thanks!
The WYSIWIG Inline Code Command plugin provides precisely this one feature, so
don’t expect it to be updated very often. One issue that I’m aware but don’t
know quite how to fix is that the user-visible text describing the command in
the editor isn’t internationalized.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon