— No Results

    差别

    这里会显示出您选择的修订版和当前版本之间的差别。

    到此差别页面的链接

    两侧同时换到之前的修订记录前一修订版
    后一修订版
    前一修订版
    wiki:syntax [2025/04/10 13:44] – ↷ 页面天下:wiki:syntax被移动至wiki:syntax luyiwiki:syntax [2025/10/11 13:51] (当前版本) – 外部编辑 127.0.0.1
    行 404: 行 404:
     ==== Syntax Highlighting ==== ==== Syntax Highlighting ====
      
    -[[天下:wiki:dokuwiki]] can highlight sourcecode, which makes it easier to read. It uses the [[http://qbnz.com/highlighter/|GeSHi]] Generic Syntax Highlighter -- so any language supported by GeSHi is supported. The syntax uses the same code and file blocks described in the previous section, but this time the name of the language syntax to be highlighted is included inside the tag, e.g. ''<nowiki><code java></nowiki>'' or ''<nowiki><file java></nowiki>''.+[[wiki:DokuWiki]] can highlight sourcecode, which makes it easier to read. It uses the [[http://qbnz.com/highlighter/|GeSHi]] Generic Syntax Highlighter -- so any language supported by GeSHi is supported. The syntax uses the same code and file blocks described in the previous section, but this time the name of the language syntax to be highlighted is included inside the tag, e.g. ''<nowiki><code java></nowiki>'' or ''<nowiki><file java></nowiki>''.
      
     <code java> <code java>
    行 450: 行 450:
     | //n//[dhm] | refresh period, where d=days, h=hours, m=minutes. (e.g. 12h = 12 hours). | | //n//[dhm] | refresh period, where d=days, h=hours, m=minutes. (e.g. 12h = 12 hours). |
      
    -The refresh period defaults to 4 hours. Any value below 10 minutes will be treated as 10 minutes. [[天下:wiki:dokuwiki]] will generally try to supply a cached version of a page, obviously this is inappropriate when the page contains dynamic external content. The parameter tells [[天下:wiki:dokuwiki]] to re-render the page if it is more than //refresh period// since the page was last rendered.+The refresh period defaults to 4 hours. Any value below 10 minutes will be treated as 10 minutes. [[wiki:DokuWiki]] will generally try to supply a cached version of a page, obviously this is inappropriate when the page contains dynamic external content. The parameter tells [[wiki:DokuWiki]] to re-render the page if it is more than //refresh period// since the page was last rendered.
      
     By default the feed will be sorted by date, newest items first. You can sort it by oldest first using the ''reverse'' parameter, or display the feed as is with ''nosort''. By default the feed will be sorted by date, newest items first. You can sort it by oldest first using the ''reverse'' parameter, or display the feed as is with ''nosort''.
    wiki/syntax.1744263854.txt.gz · 最后更改: 2025/04/10 13:44 由 luyi