
內容簡介
這是一個簡單的 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”)獲取更多選項和信息。
外掛標籤
開發者團隊
原文外掛簡介
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.
