內容簡介
Sniplets 是一款通用的文字插入外掛程式,支援擴充的處理架構。簡單來說,這表示您可以動態地替換帖子中的文字,使用其他地方定義的文字或由其他模組建立的文字。例如,您可以使用 Sniplets 來對文件進行語法突出顯示、執行自訂 PHP 代碼、插入數據庫中的數據以及執行標準介面中各種有用的任務。
替換帖子中的標籤為預先定義的文字
對預先定義的文字應用處理功能,以執行其他功能
自動插入 - 數據可以自動顯示在各種地方(頁首、頁腳、文章前、文章後、more tag、初始化)
用戶可以編寫自定義處理器
完全本地化
Sniplets 外掛支援以下語言:
英文
白俄羅斯語(鳴謝 Marcis Gasuns)
文檔
完整的文檔可以在 Sniplets 頁面上找到。
外掛標籤
開發者團隊
原文外掛簡介
Sniplets is a generic text insertion plugin with support for an extensible processing framework. At it’s simplest this means you can dynamically replace text in your posts with text that may be defined elsewhere, or created by some other module. For example, you can use Sniplets to perform syntax highlighting of files, execute custom PHP code, insert data from a database, and perform all manner of other useful tasks within a standard interface.
Replace tags in a post with pre-defined text
Apply processing functions to the pre-defined text to perform additional functionality
Automatic insertion – data can be made to automatically appear in various places (header, footer, before post, after post, more tag, initialization)
Custom processors can be written by the user
Fully localized
Sniplets is available in:
English
Belorussian thanks to Marcis Gasuns
Documentation
Full documentation can be found on the Sniplets page.
