plugin:konsole
Table of Contents
konsole Plugin
Compatible with DokuWiki
- 2024-02-06 "Kaos" unknown
- 2023-04-04 "Jack Jackrum" yes
- 2022-07-31 "Igor" yes
- 2020-07-29 "Hogfather" yes
This is my first published plugin I developed for a website in project, so it could have some bugs, mistakes, but I tried it on two DokuWiki, and this one seems to work fine.
Installation
Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.
Examples/Usage
User Konsole:
<konsole> ... </konsole>
Root Konsole:
<konsole root> ... </konsole>
There's also a little toolbar:
Change Log
- 2015-05-15
- Bootstrap 3 Compatibility Issue
- Few little corrections
- 2015-07-25
- Translations update.
- 2014-05-16
- Compatibility check
- New translations: ja, nl, de (Thanks to translators
)
- 2012-02-01
- Initial release
ToDo/Wish List
- Plugin in french and English1), so other translations are welcome!
- Only Linux bash highlighting, DOS commands will be soon available.
- Ability to add personal keywords.
- Adding new style for terminal, Windows, MacOS.
Discussion
Would be nice if there was control of the height, I have two commands and it takes up about 50 lines. I rather it have it take 2 lines.
You can change the height in style.css.
Wolud be nice, if heigth and width are dynamic parameters e.g.<konsole 600 300> ... </konsole>do you think that is possible?
I second a request for this dynamic resizing, it is clunky without.
The wiki syntax works inside the <koncole> tags, can you disable that please?
The wiki syntax inside the <konsole> tags is wonderful, if you want to highlight interaction inside a konsole session or mark some important output.
If you want to disable the wiki syntax, then the konsole plugin should understand and you could use the normal No Formatting wiki syntax, eg.%%
or<nowiki>your konsole output</nowiki>
inside the <konsole> tags. This should be the same like working with the xterm plugin
Something like:<konsole> linux1:~ # **cd /etc** linux1:/etc # **cat /etc/SuSE-release** %% SUSE LINUX 10.1 (X86-64) VERSION = 10.1 %% linux1:/etc # **ls apache2** <nowiki> .htpasswd errors.conf listen.conf charset.conv extra magic conf.d httpd.conf mime.types default-server.conf httpd.conf.local mod_autoindex-defaults.conf </nowiki> linux1:/etc # </konsole>
— kirbach 2012/07/16 16:07
Thanks to kirbach for this really nice answer — chtiland
Printing a page does not render correctky the <konsole> tag
I also encountered this problem, this should work by activating “printing background images” in browser options but can't make it work too (Tried Firefox, Chrome and Opera) still investigating— chtiland 2014/01/03 13:04
1)
Report any mistake
plugin/konsole.txt · Last modified: by Klap-in