[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#782710: wiki.debian.org: highlight a code that needs to be executed as root



Package: wiki.debian.org
Severity: wishlist

Dear Maintainer,

In the wiki, It would be nice if we could highlight a code that needs to be executed as
root, and mark a clear difference with a user code or a command result.

"Root code" which could be open with: {{{# or {{{#root and have a red css
border (border: 1px solid #c70036;)
"User code" which could be open with: {{{$ or {{{$user and have a more dark
grey css border (border: 1px solid #494a4d;)
"Sample code" still be opened with: {{{ with no border block change

An other advantage is to avoid the signs # and $ when you copy/paste a command.

In the french wiki debian-facile.org we already use this trick with a more
complex css : http://wiki.debian-facile.org/doc:media:vlc

I don't know if it's easy to patch/configure the moinmoin wiki to do such
things. It requires to make a difference between : {{{, {{{$ and {{{#


Kind regards
Simon Folco (aka Kao)

Attachment: WikiProposal.png
Description: PNG image


Reply to: