====== Возможности плагинов ====== ==== - include ==== [[include]] ==== - plantuml ==== [[plantuml]] ==== - structured data ==== [[structured data Описание]] ==== - anchor ==== Ссылка на определенный раздел на какой-либо странице Помечаем то куда хотим сослаться с помощью: {{anchor:test}} Ссылаемся с помощью: [[test_page#test]] где test_page - адрес страницы, test - название раздела, куда ссылаемся ==== - tag ==== Тэги: {{tag>tag1 tag2 tag3}} {{tag>tag1 tag2 tag3}} Примеры * ''%%{{topic>tag1 -tag2}}%%'' -- Список всех страниц с tag1, но без tag2. * ''%%{{topic>tag1 +tag2}}%%'' -- Список всех страниц с tag1 и tag2. * ''%%{{topic>tag1 tag2}}%%'' -- Список всех страниц с tag1 или tag2. * ''%%{{topic>ns1?tag1 tag2}}%%'' -- Список всех страниц пространства имён ns1 с tag1 или tag2. * ''%%{{topic>.?tag1 tag2}}%%'' -- Список всех страниц внутри текущего пространства имён с tag1 и tag2. * ''%%{{topic>tag1 tag2 tag3&nodate&desc&sort}}%%'' (Adding [[:plugin:pagelist|pagelist]] options to change the design) ==== - imagereferense ==== Пример работы плагина imagereference: === - Иллюстрации === {{ :wiki:dokuwiki-128.png?300 }} {{:wiki:dokuwiki-128.png?300}} {{ :wiki:dokuwiki-128.png?300 }} {{:wiki:dokuwiki-128.png?300}} Чтобы работали [edit] и [update], должны быть установлены: - python [python-3.4.3.amd64] - pywin32 [pywin32-219.win-amd64-py3.4] - pyqt4 [PyQt4-4.11.3-gpl-Py3.4-Qt4.8.6-x64] - PyDokuwiki [PyDokuwiki-0.1-py3.4] Должен быть запущен ''olfhttpServer.py''. Должна быть определена переменная окружения ''%SVN_ROOT%''. Теcтовая иллюстрация показана на . Теcтовая иллюстрация показана на . === - Таблицы === ^ Heading 1 ^ Heading 2 ^ Heading 3 ^ | Row 1 Col 1 | Row 1 Col 2 | Row 1 Col 3 | ^ Heading 1 ^ Heading 2 ^ Heading 3 ^ | Row 1 Col 1 | Row 1 Col 2 | Row 1 Col 3 | В показаны тестовые данные. В показаны тестовые данные. /* ==== - math ==== Формула раз: S(f)(t)=a_{0}+sum{n=1}{+infty}{a_{n} cos(n omega t)+b_{n} sin(n omega t)} S(f)(t)=a_{0}+sum{n=1}{+infty}{a_{n} cos(n omega t)+b_{n} sin(n omega t)} Формула два: delim{lbrace}{matrix{3}{1}{{3x-5y+z=0} {sqrt{2}x-7y+8z=0} {x-8y+9z=0}}}{ } delim{lbrace}{matrix{3}{1}{{3x-5y+z=0} {sqrt{2}x-7y+8z=0} {x-8y+9z=0}}}{ } Формула три: delim{|}{{1/N} sum{n=1}{N}{gamma(u_n)} - 1/{2 pi} int{0}{2 pi}{gamma(t) dt}}{|} <= epsilon/3 delim{|}{{1/N} sum{n=1}{N}{gamma(u_n)} - 1/{2 pi} int{0}{2 pi}{gamma(t) dt}}{|} <= epsilon/3 */ ==== - MathJax ==== Синтаксис: http://www.suluclac.com/Wiki+MathJax+Syntax https://en.wikipedia.org/wiki/Help:Displaying_a_formula Цвет в формулах: ${\color{Blue}{x^2}}+{\color{Orange}{2x}}-{\color{LimeGreen}{1}}$ ${\color{Blue}{x^2}}+{\color{Orange}{2x}}-{\color{LimeGreen}{1}}$ To display math on its own line, use double dollar signs: $$ \frac{d}{dx}\left( \int_{0}^{x} f(u)\,du\right)=f(x) $$ $$ \frac{d}{dx}\left( \int_{0}^{x} f(u)\,du\right)=f(x) $$ or escaped square brackets: \[ \sin A \cos B = \frac{1}{2}\left[ \sin(A-B)+\sin(A+B) \right] \] \[ \sin A \cos B = \frac{1}{2}\left[ \sin(A-B)+\sin(A+B) \right] \] A wide range of math environments((Accepted math environments (specified [[https://github.com/liffiton/dokuwiki-plugin-mathjax/blob/master/syntax/protecttex.php#L27|here]] in the code): align, align*, alignat, alignat*, displaymath, eqnarray, eqnarray*, equation, equation*, flalign, flalign*, gather, gather*, math, multline, multline*)) will work as well: \begin{align*} e^x & = 1 + x + \frac{x^2}{2} + \frac{x^3}{6} + \cdots \\ & = \sum_{n\geq 0} \frac{x^n}{n!} \end{align*} \begin{align*} e^x & = 1 + x + \frac{x^2}{2} + \frac{x^3}{6} + \cdots \\ & = \sum_{n\geq 0} \frac{x^n}{n!} \end{align*} Note that the math environments //should not// be inside the dollar sign delimiters; the environments should stand on their own with just the ''\begin'' and ''\end'' statements in order to be parsed correctly. ==== - color ==== Текст можно выделить цветом так: красныйжёлтыйзелёный красныйжёлтыйзелёный ==== - discussion ==== Тег ''~~DISCUSSION~~'' вставляет на страницу форму с обсуждениями. ==== - changes ==== Для просмотра и фильтрации изменений можно использовать плагин ''changes''. {{changes>ns = -бюрократия&user=abakumov_rs&count=10&render = pagelist(header, signature)}} {{changes>ns = -бюрократия&user=abakumov_rs&count=10&render = pagelist(header, signature)}} ==== - exttab3 ==== === Example1 === Here is an example usage of extended table syntax. {| |+//Extended Table Example// ! style="width: 12em;"| A1 Header ! style="width: 10em;"| B1 Header |- style="background-color: MistyRose;" | {{ wiki:dokuwiki-128.png?50&nolink}} Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. | B2 Data * //italic// * ''monospace'' * [[:start|page link]] **ATTENTION:**\\ Needs an extra empty line after the end of whole table! |} {| |+//Extended Table Example// ! style="width: 12em;"| A1 Header ! style="width: 10em;"| B1 Header |- style="background-color: MistyRose;" | {{ wiki:dokuwiki-128.png?50&nolink}} Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. | B2 Data * //italic// * ''monospace'' * [[:start|page link]] **ATTENTION:**\\ Needs an extra empty line after the end of whole table! |} === Example2 === {| ! header1 !! header2 !! header3 |- ! test1 || test2 || test3 |- ! test4 || test5 | test6 * test1 * test2 * test3 {| ! 1 !! 2 !! 3 |- | 4 || 5 || 6 |} |} {| ! header1 !! header2 !! header3 |- ! test1 || test2 || test3 |- ! test4 || test5 | test6 * test1 * test2 * test3 {| ! 1 !! 2 !! 3 |- | 4 || 5 || 6 |} |}