wiki:test

差别

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

到此差别页面的链接

两侧同时换到之前的修订记录 前一修订版
后一修订版
前一修订版
wiki:test [2020/12/17 21:45] – [test plantumlparser] oakfirewiki:test [2024/06/04 09:53] (当前版本) – [需求] oakfire
行 1: 行 1:
 ====== 本wiki的配置与测试代码 ====== ====== 本wiki的配置与测试代码 ======
 +===== 需求 =====
 +  * 为方便编写与阅读数学笔记,强烈需求这种插件: 在定义或定理时,对定义的或定理的关键字进行标记, 在后续出现同样的关键词时,鼠标移上去时,能显示标记时的内容。 
 +    * 鼠标移上去时,表现类似脚注''footnotes'', 或类似英文缩写的功能  ''<abbr>''
 +    * 在编写时,标记可以形如<code> [| 这是一个定义,中括号与竖线里面的定义内容都会出现在显示的内容中,定义的(|关键字|) 用竖线与小括号围住 |]) </code>
 +    * 难点:跨页面显示,得有个缓存数据库,参考 ''RefNotes'' 这个插件;
 +    * 难点:定义与显示的两端页面,都要编辑保存后才能更新显示,不知道有没有直接扫描所有页面更新页面缓存的接口
 +===== Tips =====
 +  * Dokuwiki 用的标记语法来自 [[https://en.wikipedia.org/wiki/Creole_%28markup%29|Creole]]
 +  * 直接修改 ''./conf/entities.conf'', 把''--''的替换取消掉! --, ---, ->, (c), >>, ...
 +    * 修改后,得重新编辑页面才能刷新修改
 +  * 测试 [[test#plantumlparser]]
 +  * 缩写注释 [[doku>abbreviations]], HTML , RFC , oakfire ,  橡火 , 邻域
 +    * 编辑 ''./conf/acronyms.local.conf''
 ===== Bugs ===== ===== Bugs =====
   *  --- //[[oakfire@163.com|Oakfire]] 2020/08/18 02:28// <del>手动修正了 插件 simpleindex 与 seqdia 的 syntax.php 里接口 handle 、render 与新版 dokuwiki 不匹配问题</del>  废弃了这两插件 --- //[[oakfire@163.com|Oakfire]] 2020/11/11 12:46//   *  --- //[[oakfire@163.com|Oakfire]] 2020/08/18 02:28// <del>手动修正了 插件 simpleindex 与 seqdia 的 syntax.php 里接口 handle 、render 与新版 dokuwiki 不匹配问题</del>  废弃了这两插件 --- //[[oakfire@163.com|Oakfire]] 2020/11/11 12:46//
  
-===== plugins ===== +===== Plugins ===== 
-  * simpleindex plugin: <wrap em>deprecated</wrap> +  * <del>SimpleIndex Plugin:</del> <wrap em>deprecated</wrap> 
-  * indexmenu plugin+  * IndexMenu Plugin
     * js theme {{ :wiki:oak.png.zip |}},组合了下icons8metrobw.png与icons8w10bw.png ,手动编辑了其中 page.png 图像。     * js theme {{ :wiki:oak.png.zip |}},组合了下icons8metrobw.png与icons8w10bw.png ,手动编辑了其中 page.png 图像。
   * Wrap Plugin   * Wrap Plugin
     * 修改了插件下 ''style.css'' 与 ''style.less'' 里 ''.wrap_warning''的 ''color'' 为白色,首页横条更为好看。     * 修改了插件下 ''style.css'' 与 ''style.less'' 里 ''.wrap_warning''的 ''color'' 为白色,首页横条更为好看。
-  * [[https://www.dokuwiki.org/plugin:mathjax | mathjax]] +  * [[doku>plugin:mathjax | mathjax plugin]] 
-  * plantumlparser plugin +  * [[doku>plugin:plantumlparser | PlantUmlParser Plugin]] 
-===== templates =====+  * [[doku>plugin:refnotes | RefNotes plugin]],  更高级的脚注[(foo1>指用了refnotes插件的脚注)], 一样的脚注2[(foo1)],邻域[(称含有 \(x \in \mathbb{R} \) 的开区间为  \(x\) 的一个邻域)], 跨页面脚注 [(:math:linyu)],  示例2[(:ref:sample2)], 示例3[(:ref:sample3)], 中文脚注[(:math:中文)],  中文定义[(:math:定义)] 
 +===== Templates =====
   * Bootstrap3 Template: 发现这个主题模版更为好用!<wrap caution>现使用此模版</wrap>   * Bootstrap3 Template: 发现这个主题模版更为好用!<wrap caution>现使用此模版</wrap>
     * 修改了''./lib/tpl/bootstrap3/assets/bootstrap/default/bootstrap.min.css'' 里的 ''ul,ol'' 样式的 ''line-height'' 为 24px, 更为美观。     * 修改了''./lib/tpl/bootstrap3/assets/bootstrap/default/bootstrap.min.css'' 里的 ''ul,ol'' 样式的 ''line-height'' 为 24px, 更为美观。
行 19: 行 33:
  
  
-===== test seqdia plugin===== +===== Tests ===== 
 +==== » seqdia plugin====
  
 <wrap em>Deprecated</wrap>: 没怎么用,与2020新版接口不兼容 <wrap em>Deprecated</wrap>: 没怎么用,与2020新版接口不兼容
- 
- 
  
 [[https://www.websequencediagrams.com]] [[https://www.websequencediagrams.com]]
 +<code>
 <seqdia modern-blue> <seqdia modern-blue>
 aaa->+bbb: task one  aaa->+bbb: task one 
行 41: 行 53:
 end end
 </seqdia> </seqdia>
 +</code>
 +==== » plantumlparser ====
 +
 +示例:https://plantuml.com/zh/sequence-diagram
  
-===== test plantumlparser ===== 
 <uml> <uml>
 participant User participant User
 +
 +[-> User: DoWork
 +activate User
  
 User -> A: DoWork User -> A: DoWork
行 54: 行 72:
 A -> B: << createRequest >> A -> B: << createRequest >>
 activate B activate B
 +
 +create C
 +B -> C: new
 +C -> C: wait
 +B -> C !! : delete
  
 B --> A: RequestCreated B --> A: RequestCreated
行 60: 行 83:
 A -> User: Done A -> User: Done
 deactivate A deactivate A
 +...5 minutes latter...
 +
 +[<- User: Done
 +deactivate User
 +
 +== Attack ==
 +
 +group My own label [My own label 2]
 +User -> B : attack start
 +loop 1000 times
 +    User -> A : DNS Attack
 +end
 +User -> B : attack stop
 +end
 </uml> </uml>
-===== test table ===== +==== » table ==== 
-^ title1 ^ title2 ^ title3 ^ +^ title1  ^ title2  ^ title3  
-| 1111 | 222222 | 333333 | +| 1111    | 222222  | 333333  
-|:::| 22222 | 33333 | +| :::     | 22222   | 33333   
-|11111 | 222222 | 333333 |+| 11111   | 222222           |
 +|                         | 
 +|                         | 
 +|                         | 
 +|                         |
  
-===== test mathjax =====+==== » mathjax ====
  
 inline math, use dollar signs: $a^2 + b^2 = c^2$ inline math, use dollar signs: $a^2 + b^2 = c^2$
行 79: 行 120:
 \end{align*} \end{align*}
  
-===== test wrap plugin =====+==== » wrap plugin ====
  
 <WRAP group> <WRAP group>
行 130: 行 171:
   * <wrap warning>warning</wrap>   * <wrap warning>warning</wrap>
   * <wrap danger>danger</wrap>   * <wrap danger>danger</wrap>
-  * <wrap button>[[:test|链接用<wrap button>可显示为按钮行为]]</wrap>+  * <wrap button>[[wiki:test|链接用<wrap button>可显示为按钮行为]]</wrap>
   * 请用鼠标选择右边的空白区域:<wrap spoiler>看不见我,看不见我</wrap>   * 请用鼠标选择右边的空白区域:<wrap spoiler>看不见我,看不见我</wrap>
  
 +<markdown>
 +
 +### » markdown page plugin
 +- 内部链接:[首页](:start), [doku本插件链接](doku>plugin:mdpage), [wp 链接](wp>dokuwiki)
 +- 内部链接图像:![internal image](:wiki:dokuwiki-128.png)
 +- [x] foo
 +  - [ ] bar
 +  - [x] baz
 +- [ ] bim
 +- foo
 +- bar
 ++ baz
 +- ~~Hi~~ Hello, ~there~ world!
  
 +| f\|oo  |
 +| ------ |
 +| b `\|` az |
 +| b **\|** im |
 +</markdown>
  
  
  
  
  • wiki/test.1608212735.txt.gz
  • 最后更改: 2020/12/17 21:45
  • oakfire