User Tools

Site Tools


docs:tips_n_tricks:dokuwiki.html

Dokuwiki

Theme Adaption

Ameoto

Changes:

  • Have my own logo in the header
  • Use full width of my browser window
  • Have a search field and button in the footer
Only in ameoto_pjw/images: usr-local-free-dokuwiki.png
diff -rwb ameoto/layout.css ameoto_pjw/layout.css
61a62
>   text-align: center;
diff -rwb ameoto/main.php ameoto_pjw/main.php
54c54
<         <div class="logo"><a href="/"><img src="<?php echo DOKU_TPL?>images/header.png" width="812" height="60" alt="TheTooth-Systems" border="0" /></a></div>
---
>         <div class="logo"><a href="/"><img src="<?php echo DOKU_TPL?>images/usr-local-free-dokuwiki.png" width="404" height="60" alt="/usr/local.org" border="0" /></a></div>
55a56
> 
81a83
>             <?php tpl_searchform(false,false)?>
diff -rwb ameoto/simple_design.css ameoto_pjw/simple_design.css
123,133d122
< /* the searchform */
< div.dokuwiki #dw__search {
<   float: right;
<   margin-top: 0.2em;
<   margin-right: 0.4em;
< }
< 
< div.dokuwiki #dw__search input.button {
<   display: none;
< }
diff -rwb ameoto/style.ini ameoto_pjw/style.ini
28c28,29
< __wiki_width__          = "845px"
---
> __wiki_width__          = "98%"

Code format syntax

Variants

  • enable_line_numbers=“true”
  • start_line_numbers_at=“42”
  • highlight_lines_extra=“2,5”
  • enable_keyword_links=“false”
<file text manual.txt [enable_line_numbers="true", start_line_numbers_at="42"]>
:
</file>
  1. <code bash [enable_line_numbers="true", start_line_numbers_at="41", highlight_lines_extra="2"]>
  2. echo fortyone
  3. echo 42
  4. echo dreiunvierzig
  5. </code>

Supported styles

  • 4cs
  • 6502acme
  • 6502kickass
  • 6502tasm
  • 68000devpac
  • abap
  • actionscript3
  • actionscript
  • ada
  • aimms
  • algol68
  • apache
  • applescript
  • apt_sources
  • arm
  • asm
  • asp
  • asymptote
  • autoconf
  • autohotkey
  • autoit
  • avisynth
  • awk
  • bascomavr
  • bash
  • basic4gl
  • batch
  • bf
  • biblatex
  • bibtex
  • blitzbasic
  • bnf
  • boo
  • caddcl
  • cadlisp
  • ceylon
  • cfdg
  • cfm
  • chaiscript
  • chapel
  • cil
  • c_loadrunner
  • clojure
  • c_mac
  • cmake
  • cobol
  • coffeescript
  • c
  • cpp
  • cpp-qt
  • cpp-winapi
  • csharp
  • css
  • cuesheet
  • c_winapi
  • dart
  • dcl
  • dcpu16
  • dcs
  • delphi
  • diff
  • div
  • dos
  • dot
  • d
  • ecmascript
  • eiffel
  • email
  • epc
  • e
  • erlang
  • euphoria
  • ezt
  • f1
  • falcon
  • fo
  • fortran
  • freebasic
  • freeswitch
  • fsharp
  • gambas
  • gdb
  • genero
  • genie
  • gettext
  • glsl
  • gml
  • gnuplot
  • go
  • groovy
  • gwbasic
  • haskell
  • haxe
  • hicest
  • hq9plus
  • html
  • html4strict
  • html5
  • icon
  • idl
  • ini
  • inno
  • intercal
  • io
  • ispfpanel
  • java5
  • java
  • javascript
  • jcl
  • j
  • jquery
  • julia
  • kixtart
  • klonec
  • klonecpp
  • kotlin
  • latex
  • lb
  • ldif
  • lisp
  • llvm
  • locobasic
  • logtalk
  • lolcode
  • lotusformulas
  • lotusscript
  • lscript
  • lsl2
  • lua
  • m68k
  • magiksf
  • make
  • mapbasic
  • mathematica
  • matlab
  • mercury
  • metapost
  • mirc
  • mk-61
  • mmix
  • modula2
  • modula3
  • mpasm
  • mxml
  • mysql
  • nagios
  • netrexx
  • newlisp
  • nginx
  • nimrod
  • nsis
  • oberon2
  • objc
  • objeck
  • ocaml-brief
  • ocaml
  • octave
  • oobas
  • oorexx
  • oracle11
  • oracle8
  • oxygene
  • oz
  • parasail
  • parigp
  • pascal
  • pcre
  • perl6
  • perl
  • per
  • pf
  • phix
  • php-brief
  • php
  • pic16
  • pike
  • pixelbender
  • pli
  • plsql
  • postgresql
  • postscript
  • povray
  • powerbuilder
  • powershell
  • proftpd
  • progress
  • prolog
  • properties
  • providex
  • purebasic
  • pycon
  • pys60
  • python
  • qbasic
  • qml
  • q
  • racket
  • rails
  • rbs
  • rebol
  • reg
  • rexx
  • robots
  • roff
  • rpmspec
  • rsplus
  • ruby
  • rust
  • sas
  • sass
  • scala
  • scheme
  • scilab
  • scl
  • sdlbasic
  • smalltalk
  • smarty
  • spark
  • sparql
  • sql
  • sshconfig
  • standardml
  • stonescript
  • swift
  • systemverilog
  • tclegg
  • tcl
  • teraterm
  • texgraph
  • text
  • thinbasic
  • tsql
  • twig
  • typoscript
  • unicon
  • upc
  • urbi
  • uscript
  • vala
  • vbnet
  • vb
  • vbscript
  • vedit
  • verilog
  • vhdl
  • vim
  • visualfoxpro
  • visualprolog
  • whitespace
  • whois
  • winbatch
  • wolfram
  • xbasic
  • xml
  • xojo
  • xorg_conf
  • xpp
  • yaml
  • z80
  • zxbasic
docs/tips_n_tricks/dokuwiki.html.txt · Last modified: 16.06.2024 23:18 CEST by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki