差别
这里会显示出您选择的修订版和当前版本之间的差别。
两侧同时换到之前的修订记录 前一修订版 后一修订版 | 前一修订版 | ||
wiki:test [2020/12/11 16:22] – oakfire | wiki:test [2024/06/04 09:53] (当前版本) – [需求] oakfire | ||
---|---|---|---|
行 1: | 行 1: | ||
====== 本wiki的配置与测试代码 ====== | ====== 本wiki的配置与测试代码 ====== | ||
+ | ===== 需求 ===== | ||
+ | * 为方便编写与阅读数学笔记,强烈需求这种插件: 在定义或定理时,对定义的或定理的关键字进行标记, 在后续出现同样的关键词时,鼠标移上去时,能显示标记时的内容。 | ||
+ | * 鼠标移上去时,表现类似脚注'' | ||
+ | * 在编写时,标记可以形如< | ||
+ | * 难点:跨页面显示,得有个缓存数据库,参考 '' | ||
+ | * 难点:定义与显示的两端页面,都要编辑保存后才能更新显示,不知道有没有直接扫描所有页面更新页面缓存的接口 | ||
+ | ===== Tips ===== | ||
+ | * Dokuwiki 用的标记语法来自 [[https:// | ||
+ | * 直接修改 '' | ||
+ | * 修改后,得重新编辑页面才能刷新修改 | ||
+ | * 测试 [[test# | ||
+ | * 缩写注释 [[doku> | ||
+ | * 编辑 '' | ||
===== Bugs ===== | ===== Bugs ===== | ||
* --- // | * --- // | ||
- | ===== plugins | + | ===== Plugins |
- | * simpleindex plugin: <wrap em> | + | * < |
- | * indexmenu plugin | + | * IndexMenu Plugin |
* js theme {{ : | * js theme {{ : | ||
* Wrap Plugin | * Wrap Plugin | ||
* 修改了插件下 '' | * 修改了插件下 '' | ||
- | * [[https:// | + | * [[doku>plugin: |
- | * plantumlparser plugin | + | * [[doku> |
- | ===== templates | + | * [[doku>plugin:refnotes | RefNotes plugin]], |
+ | ===== Templates | ||
* Bootstrap3 Template: 发现这个主题模版更为好用!< | * Bootstrap3 Template: 发现这个主题模版更为好用!< | ||
* 修改了'' | * 修改了'' | ||
行 19: | 行 33: | ||
- | ===== test seqdia plugin===== | + | ===== Tests ===== |
+ | ==== » seqdia plugin==== | ||
<wrap em> | <wrap em> | ||
- | |||
- | |||
[[https:// | [[https:// | ||
+ | < | ||
<seqdia modern-blue> | <seqdia modern-blue> | ||
aaa-> | aaa-> | ||
行 41: | 行 53: | ||
end | end | ||
</ | </ | ||
+ | </ | ||
+ | ==== » plantumlparser ==== | ||
+ | |||
+ | 示例:https:// | ||
- | ===== test plantumlparser ===== | ||
<uml> | <uml> | ||
- | Alice -> Bob: Authentication Request | + | participant User |
- | Bob --> Alice: Authentication Response | + | |
- | Alice -> Bob: Another authentication Request | + | [-> User: DoWork |
- | Alice < | + | activate User |
+ | |||
+ | User -> A: DoWork | ||
+ | activate A #FFBBBB | ||
+ | |||
+ | A -> A: Internal call | ||
+ | activate A # | ||
+ | |||
+ | A -> B: << createRequest >> | ||
+ | activate B | ||
+ | |||
+ | create C | ||
+ | B -> C: new | ||
+ | C -> C: wait | ||
+ | B -> C !! : delete | ||
+ | |||
+ | B --> A: RequestCreated | ||
+ | deactivate B | ||
+ | deactivate A | ||
+ | A -> User: Done | ||
+ | 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 | ||
</ | </ | ||
- | ===== test table ===== | + | ==== » table ==== |
- | ^ title1 ^ title2 ^ title3 ^ | + | ^ title1 |
- | | 1111 | 222222 | 333333 | | + | | 1111 | 222222 |
- | |:::| 22222 | 33333 | | + | | ::: |
- | |11111 | 222222 | 333333 | + | | 11111 |
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
- | ===== 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$ | ||
行 68: | 行 120: | ||
\end{align*} | \end{align*} | ||
- | ===== test wrap plugin | + | ==== » wrap plugin ==== |
<WRAP group> | <WRAP group> | ||
行 119: | 行 171: | ||
* <wrap warning> | * <wrap warning> | ||
* <wrap danger> | * <wrap danger> | ||
- | * <wrap button> | + | * <wrap button> |
* 请用鼠标选择右边的空白区域:< | * 请用鼠标选择右边的空白区域:< | ||
+ | < | ||
+ | |||
+ | ### » markdown page plugin | ||
+ | - 内部链接:[首页](: | ||
+ | - 内部链接图像:![internal image](: | ||
+ | - [x] foo | ||
+ | - [ ] bar | ||
+ | - [x] baz | ||
+ | - [ ] bim | ||
+ | - foo | ||
+ | - bar | ||
+ | + baz | ||
+ | - ~~Hi~~ Hello, ~there~ world! | ||
+ | | f\|oo | | ||
+ | | ------ | | ||
+ | | b `\|` az | | ||
+ | | b **\|** im | | ||
+ | </ | ||