[WordPress] 外掛分享: Get Gist

首頁外掛目錄 › Get Gist
WordPress 外掛 Get Gist 的封面圖片
全新外掛
安裝啟用
尚無評分
4405 天前
最後更新
問題解決
WordPress 3.5+ v1.1.3 上架:2014-02-25

內容簡介

這是一個簡單的 WordPress 外掛,可以添加 gist 短代碼,用於獲取單個 Gist 以及其中的文件。它使用 Gist V3 API。可以通過個人訪問令牌進行身份驗證。

用法
使用 WordPress 短代碼獲取 Gist:[gist id=00000000 file=file-name.php]

Gist 將作為純文本返回。我建議使用 WordPress 插件 Syntaxhighlighter Evolved 來突出顯示 Gist。有關詳細信息,請參見下面的說明。

訪問[Get Gist on Github](http://https://github.com/kopepasah/get-gist “Get Gist”)獲取更多選項和信息。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.1.3) 或搜尋安裝

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

原文外掛簡介

A simple WordPress plugin that adds a gist shortcode for getting a single Gist and the files within. It uses the Gist V3 API. Has the option for authentication via Personal Access Token.
Usage
Get a Gist using a WordPress shortcode: [gist id=00000000 file=file-name.php]
The Gist will return as plain text. I recommend using WordPress plugin Syntaxhighlighter Evolved to highlight the Gist. See below for details.
Visit [Get Gist on Github](http://https://github.com/kopepasah/get-gist “Get Gist”) for more options and information.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon