This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| dokuwiki [2019/07/15 16:01] admin | dokuwiki [2023/10/22 11:30] (current) admin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | #Dokuwiki | + | # Dokuwiki Syntax | 
| ## Theming | ## Theming | ||
| + | |||
| + | ### Edit color | ||
| + | Background color: #f5f6f7\\ | ||
| + | Link text color: #4b8aba | ||
| + | |||
| + | ### Add top bar | ||
| + | See https://www.dokuwiki.org/tips:topbar. | ||
| + | |||
| + | ### Edit common style | ||
| + | |||
| + | * For style of header. Go to ./conf/userall.css | ||
| + | * For Code block. Go to ./lib/tpl/dokuwiki/css/basic.less and content.less | ||
| + | |||
| + | ### Edit the card like page view | ||
| + | In ./lib/tpl/dokuwiki/css , edit:\\ | ||
| + | basic.less: pure text box, etc\\ | ||
| + | content.less: code box, etc\\ | ||
| + | design.less: the appearance of a page.\\ | ||
| + | mobile.less: the appearance of a page on moblie device: | ||
| + | |||
| + | ```css | ||
| + | border: 1pt solid #f8fcff; | ||
| + | box-shadow: 0 0.5pt 2.7pt @ini_text_alt; | ||
| + | border-radius: 4pt; | ||
| + | ``` | ||
| ## Frequent Used Code | ## Frequent Used Code | ||
| - | <wrap lo>Reference: | + | ```html | 
| + | <wrap lo>Reference:\\ | ||
| - Please refer to blablabal | - Please refer to blablabal | ||
| </wrap> | </wrap> | ||
| - | |||
| ``` | ``` | ||
| - | <wrap lo>Reference: | + | |
| + | <wrap lo>Reference:\\ | ||
| - Please refer to blablabal | - Please refer to blablabal | ||
| </wrap> | </wrap> | ||
| + | |||
| + | |||
| + | ```html | ||
| + | <file> | ||
| + | 纯文本格式. | ||
| + | 用于复制黏贴一些文档 | ||
| + | </file> | ||
| ``` | ``` | ||
| Line 19: | Line 52: | ||
| </file> | </file> | ||
| \\ | \\ | ||
| + | |||
| ##Plugin Syntax | ##Plugin Syntax | ||
| + | ### Highlight Plugin | ||
| + | |||
| + | <color green>text</color> | ||
| + | <color blue/lightgrey>text</color> | ||
| + | <color #FF0000>text</color> | ||
| + | <color /#FFff00>text</color> | ||
| + | <color rgb(80%,0%,0%)/rgb(100%,80%,100%)>text</color> | ||
| + | <color hsl(120,100%,30%)/hsl(180,50%,90%)>text</color> | ||
| + | |||
| + | <code> | ||
| + | <color green>text</color> | ||
| + | <color blue/lightgrey>text</color> | ||
| + | <color #FF0000>text</color> | ||
| + | <color /#FFff00>text</color> | ||
| + | <color rgb(80%,0%,0%)/rgb(100%,80%,100%)>text</color> | ||
| + | <color hsl(120,100%,30%)/hsl(180,50%,90%)>text</color> | ||
| + | </code> | ||
| ###Video Sharing Site Plugin | ###Video Sharing Site Plugin | ||
| ``` | ``` | ||
| Line 68: | Line 119: | ||
| </blockquote> | </blockquote> | ||
| He said <q>That's life!</q> and moved on. | He said <q>That's life!</q> and moved on. | ||
| - | |||