वर्णन
WP-Terminal generates a terminal-like box around your terminal commands.
The code is a modification of WP-Syntax, a source code highlighter plugin for WordPress (https://wordpress.org/extend/plugins/wp-syntax/screenshots/).
Basic Usage
Wrap terminal blocks with <pre id="terminal" user="username" computer="computername">
and </pre>
, being user and computer optional (“user” and “computer” will be shown if you don’t provide them). More usage
examples
Usage
Wrap terminal blocks with <pre id="terminal" user="username" computer="computername">
and </pre>
, being user and computer optional (“user” and “computer” will be shown if you don’t provide them).
Example 1: No customized command
<pre id="terminal">
ls -a
</pre>
Example 2: User and computer customizations
<pre id="terminal" user="mariano" computer="eugene">
ls -a
</pre>
Example 3: Customizing just the user
<pre id="terminal" user="mariano">
ls -a
</pre>
Example 4: Customizing just the computer
<pre id="terminal" computer="eugene">
ls -a
</pre>
Example 5: Multiline commands
<pre id="terminal">
ls
. ..
<br/>
ls -a
. .. .hiden_file
</pre><h3>TODO</h3>1. Allow to specify working dir
2. Allow to customize prompt
स्क्रीनशॉट
स्थापना
- Upload wp-temrinal.zip to your WordPress plugins directory, usually
wp-content/plugins/
and unzip the file. It will create awp-content/plugins/wp-terminal/
directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- Create a post/page that contains a code snippet following the proper usage syntax.
नेहमी विचारले जाणारे प्रश्न
- Q1
समीक्षा
ह्या प्लगइनसाठी कोणतेही समीक्षण नाही.
योगदानकर्ते आणि विकसक
“WP-Terminal” हे मुक्त स्रोत सॉफ्टवेअर आहे. पुढील लोक या प्लगइनच्या निर्मितीत योगदान केले आहे.
योगदानकर्तेभाषांतर करा “WP-Terminal” तुमच्या भाषेत.
विकासातील आग्रह?
कोड ब्राउझ करा, SVN संग्रहालय तपासा, किंवा विकास लॉग च्या RSS द्वारे सदस्यता घ्या.
बदलांची यादी
0.2.1: Replacing [prompt] keyword by the prompt and highlighting the prompt in bold (thanks to Almir Mendes (m3nd3s@gmail.com) and rudson (rudsonalves@rra.etc.br))
0.2: Added multiline commands
0.1: First release