Program Output

外掛說明

This Plugin is useful for developers blog, tutorial site where to display formatted output of any program, like C, C++, JAVA, VB, C#, JSP, ASP, PHP, HTML etc.
The output is purely created using CSS so it is responsive, and display perfectly on any browser.
It use shortcode to display output. Just add [output] Hello World! [/output] to your Post or Page.

螢幕擷圖

  • This is Console (CMD) Output. Useful for Command Line Output such as C, C++, JAVA etc.
  • This is Browser Output. Useful for Web Languages such as ASP, PHP, JSP, HTML, JS, CSS etc.

安裝方式

This section describes how to install the plugin and get it working.

  1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the Settings->Plugin Name screen to configure the plugin
  4. (Make your instructions match the desired user flow for activating and installing your plugin. Include any steps that might be needed for explanatory purposes)

常見問題集

How to use Shortcodes?

Just add [output] Text to Display [/output] to your Post or Page.

How to use Shortcodes with Parameters?

This plug-in accepts three parameters with Shortcodes. 1) type 2) title 3) header all three are optional.

How to use “type” Parameters with Shortcodes?

Just add type with value in starting shortcode. For Example [output type=”browser”] Here browser is value of type.
Currently this plug-in supports two values of type, 1) cmd 2) browser.
If you not provide any type it will use cmd as by default type.

How to use “title” Parameters with Shortcodes?

Just add title with value in starting shortcode. For Example [output type=”browser” title=”Any thing you display in Title bar”].
The value of title is display on Title Bar of browser output. The title is only work with type=”browser”
If title is not specified in Shortcode, This Plug-in display New Tab on Title Bar of browser output by default.
The cmd is not support title parameter, as it only display Command Prompt on cmd Title Bar.

How to use “header” Parameters with Shortcodes?

This Plug-in is display Output: before it prints actual output.
If you have to change text of Output:, Just add header with value in starting shortcode.
For Example [output header=”Result:]”. It will display Result: before prints actual output.
If don’t want to display any header, Just add header with blank value in starting shortcode.
For Example [output header=””]. It will not display any header before prints actual output.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Program Output〉的開發相關工作。

參與者

將〈Program Output〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0

  • Created A New Plugin.
  • No change.