WP-ShkShell free WordPress plugin
Description
WP-ShkShell free WordPress plugin
WP-ShkShell provides a terminal-like box for embedding terminal commands within pages or posts.
It also support multi-lines, multi-commands and has syntax hightlight.
The code is a modification of WP-Terminal (https://wordpress.org/extend/plugins/wp-terminal/).
Usage
Wrap terminal blocks with
and
.
Example 1: Default prompt
ls -a
Example 2: Customized prompt
ls -a
Example 3: Another customized prompt
ls -a
Example 4: Comments
ls -a # will also list hidden files
Example 5: Multiline commands
ls
ls -a
Example 6: Multiline lines, multiple commands
ls file1 file2 file3
ls -A .file0 file1 file2 file3