[WordPress] 外掛分享: Code Repository

首頁外掛目錄 › Code Repository
10+
安裝啟用
尚無評分
4301 天前
最後更新
問題解決
WordPress 3.0.0+ v0.2.1 上架:2014-06-03

內容簡介

此外掛可讓使用者儲存腳本和程式碼片段,使用 WordPress 內建的文章版本控制功能。
程式碼將顯示在 yourblog.com/code。
使用 curl 存取程式碼網址

curl -sS yourblog.com/code/scriptname/

將返回適合於 shell sourcing 的未格式化程式碼版本。

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.2.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Code Repository」→ 直接安裝(推薦)

原文外掛簡介

Allows users to save scripts and code snippets, using built in WordPress post revisioning.
Scripts will be shown on yourblog.com/code.
Using curl on a script url

curl -sS yourblog.com/code/scriptname/

will return an unformatted version of the code, suitable for shell sourcing.

延伸相關外掛

文章
Filter
Mastodon