= Shell Example = Note: This version support up to Trac 0.11. later Trac version is not tested here but is supported in forked version at http://trac-hacks.org/wiki/ShellExampleMacro/ We wrote an ShellExample preprocessor macro for trac. It's mainly for giving guide on what/how to do under shell prompt. The main purpose of ShellExample is to separate "user input" from "output", other than having all the beautiful decorations. {{{ {{{ #!ShellExample $ ./configure --help ... --enable-abc ...... --enable-def ...... --with-ghi[=dir] ...... ... $ ./configure '--enable-abc' \ '--enable-def' \ --with-ghi='/usr /local' (many outputs here) $ make (many outputs again) (now su to root) $ su Password: (type your root password) # make install (ok, it's now installed) }}} }}} read as {{{ #!ShellExample $ ./configure '--enable-abc' \ '--enable-def' \ --with-ghi='/usr/local def' (many outputs here) $ make (many outputs again) (now su to root) $ su Password: (type your root password) # make install (ok, it's now installed) }}} Download the attachment, untar it with tar -zxf, then do ./setup.py, restart trac, enable it in admin or ini, restart trac again Other supported patterns {{{ #!ShellExample root@host # ... user@host $ ... ~ $ .. ~/path/ $ .. /path/ $ .. C:\> C:\Documents and Settings\username\> }}}