wiki:syntax
[공지]회원 가입 방법
[공지]글 작성 및 수정 방법
[홈레코딩 필독서]"모두의 홈레코딩"구매링크
[공지]글 작성 및 수정 방법
차이
문서의 선택한 두 판 사이의 차이를 보여줍니다.
다음 판 | 이전 판마지막 판양쪽 다음 판 | ||
wiki:syntax [2018/10/17] – 바깥 편집 127.0.0.1 | wiki:syntax [2022/01/24] – 정승환 | ||
---|---|---|---|
줄 1: | 줄 1: | ||
- | ====== Formatting Syntax ====== | + | ======= Formatting Syntax |
[[doku> | [[doku> | ||
- | ===== Basic Text Formatting ===== | + | ====== Basic Text Formatting |
DokuWiki supports **bold**, //italic//, __underlined__ and '' | DokuWiki supports **bold**, //italic//, __underlined__ and '' | ||
줄 30: | 줄 30: | ||
You should use forced newlines only if really needed. | You should use forced newlines only if really needed. | ||
- | ===== Links ===== | + | ====== Links ====== |
DokuWiki supports multiple ways of creating links. | DokuWiki supports multiple ways of creating links. | ||
- | ==== External ==== | + | ===== External |
External links are recognized automagically: | External links are recognized automagically: | ||
줄 43: | 줄 43: | ||
addresses like this one: < | addresses like this one: < | ||
- | ==== Internal ==== | + | ===== Internal |
Internal links are created by using square brackets. You can either just give a [[pagename]] or use an additional [[pagename|link text]]. | Internal links are created by using square brackets. You can either just give a [[pagename]] or use an additional [[pagename|link text]]. | ||
줄 68: | 줄 68: | ||
* When a section' | * When a section' | ||
- | ==== Interwiki ==== | + | ===== Interwiki |
DokuWiki supports [[doku> | DokuWiki supports [[doku> | ||
줄 75: | 줄 75: | ||
For example this is a link to Wikipedia' | For example this is a link to Wikipedia' | ||
- | ==== Windows Shares ==== | + | ===== Windows Shares |
Windows shares like [[\\server\share|this]] are recognized, too. Please note that these only make sense in a homogeneous user group like a corporate [[wp> | Windows shares like [[\\server\share|this]] are recognized, too. Please note that these only make sense in a homogeneous user group like a corporate [[wp> | ||
줄 93: | 줄 93: | ||
</ | </ | ||
- | ==== Image Links ==== | + | ===== Image Links ===== |
You can also use an image to link to another internal or external page by combining the syntax for links and [[# | You can also use an image to link to another internal or external page by combining the syntax for links and [[# | ||
줄 105: | 줄 105: | ||
The whole [[# | The whole [[# | ||
- | ===== Footnotes ===== | + | ====== Footnotes |
You can add footnotes ((This is a footnote)) by using double parentheses. | You can add footnotes ((This is a footnote)) by using double parentheses. | ||
줄 111: | 줄 111: | ||
You can add footnotes ((This is a footnote)) by using double parentheses. | You can add footnotes ((This is a footnote)) by using double parentheses. | ||
- | ===== Sectioning ===== | + | ====== Sectioning |
You can use up to five different levels of headlines to structure your content. If you have more than three headlines, a table of contents is generated automatically -- this can be disabled by including the string ''< | You can use up to five different levels of headlines to structure your content. If you have more than three headlines, a table of contents is generated automatically -- this can be disabled by including the string ''< | ||
- | ==== Headline Level 3 ==== | + | ===== Headline Level 3 ===== |
=== Headline Level 4 === | === Headline Level 4 === | ||
== Headline Level 5 == | == Headline Level 5 == | ||
- | ==== Headline Level 3 ==== | + | |
=== Headline Level 4 === | === Headline Level 4 === | ||
== Headline Level 5 == | == Headline Level 5 == | ||
줄 127: | 줄 127: | ||
---- | ---- | ||
- | ===== Media Files ===== | + | ====== Media Files ====== |
You can include external and internal [[doku> | You can include external and internal [[doku> | ||
줄 165: | 줄 165: | ||
For linking an image to another page see [[#Image Links]] above. | For linking an image to another page see [[#Image Links]] above. | ||
- | ==== Supported Media Formats ==== | + | ===== Supported Media Formats |
DokuWiki can embed the following media formats directly. | DokuWiki can embed the following media formats directly. | ||
줄 182: | 줄 182: | ||
{{wiki: | {{wiki: | ||
- | ==== Fallback Formats ==== | + | ===== Fallback Formats |
Unfortunately not all browsers understand all video and audio formats. To mitigate the problem, you can upload your file in different formats for maximum browser compatibility. | Unfortunately not all browsers understand all video and audio formats. To mitigate the problem, you can upload your file in different formats for maximum browser compatibility. | ||
줄 194: | 줄 194: | ||
Additionally DokuWiki supports a " | Additionally DokuWiki supports a " | ||
- | ===== Lists ===== | + | ====== Lists ====== |
Dokuwiki supports ordered and unordered lists. To create a list item, indent your text by two spaces and use a '' | Dokuwiki supports ordered and unordered lists. To create a list item, indent your text by two spaces and use a '' | ||
줄 222: | 줄 222: | ||
Also take a look at the [[doku> | Also take a look at the [[doku> | ||
- | ===== Text Conversions ===== | + | ====== Text Conversions |
DokuWiki can convert certain pre-defined characters or strings into images or other text or HTML. | DokuWiki can convert certain pre-defined characters or strings into images or other text or HTML. | ||
줄 228: | 줄 228: | ||
The text to image conversion is mainly done for smileys. And the text to HTML conversion is used for typography replacements, | The text to image conversion is mainly done for smileys. And the text to HTML conversion is used for typography replacements, | ||
- | ==== Text to Image Conversions ==== | + | ===== Text to Image Conversions |
DokuWiki converts commonly used [[wp> | DokuWiki converts commonly used [[wp> | ||
줄 253: | 줄 253: | ||
* DELETEME %% DELETEME %% | * DELETEME %% DELETEME %% | ||
- | ==== Text to HTML Conversions ==== | + | ===== Text to HTML Conversions |
Typography: [[DokuWiki]] can convert simple text characters to their typographically correct entities. Here is an example of recognized characters. | Typography: [[DokuWiki]] can convert simple text characters to their typographically correct entities. Here is an example of recognized characters. | ||
줄 269: | 줄 269: | ||
There are three exceptions which do not come from that pattern file: multiplication entity (640x480), ' | There are three exceptions which do not come from that pattern file: multiplication entity (640x480), ' | ||
- | ===== Quoting ===== | + | ====== Quoting |
Some times you want to mark some text to show it's a reply or comment. You can use the following syntax: | Some times you want to mark some text to show it's a reply or comment. You can use the following syntax: | ||
줄 299: | 줄 299: | ||
>>> | >>> | ||
- | ===== Tables ===== | + | ====== Tables |
DokuWiki supports a simple syntax to create tables. | DokuWiki supports a simple syntax to create tables. | ||
줄 361: | 줄 361: | ||
Note: Vertical alignment is not supported. | Note: Vertical alignment is not supported. | ||
- | ===== No Formatting ===== | + | ====== No Formatting |
If you need to display text exactly like it is typed (without any formatting), | If you need to display text exactly like it is typed (without any formatting), | ||
줄 375: | 줄 375: | ||
The same is true for %%// | The same is true for %%// | ||
- | ===== Code Blocks ===== | + | ====== Code Blocks |
You can include code blocks into your documents by either indenting them by at least two spaces (like used for the previous examples) or by using the tags '' | You can include code blocks into your documents by either indenting them by at least two spaces (like used for the previous examples) or by using the tags '' | ||
줄 401: | 줄 401: | ||
</ | </ | ||
- | ==== Syntax Highlighting ==== | + | ===== Syntax Highlighting |
- | [[wiki:DokuWiki]] can highlight sourcecode, which makes it easier to read. It uses the [[http:// | + | [[wiki:dokuwiki]] can highlight sourcecode, which makes it easier to read. It uses the [[http:// |
<code java> | <code java> | ||
줄 417: | 줄 417: | ||
</ | </ | ||
- | The following language strings are currently recognized: //4cs 6502acme 6502kickass 6502tasm 68000devpac abap actionscript3 actionscript ada aimms algol68 apache applescript apt_sources arm asm asp asymptote autoconf autohotkey autoit avisynth awk bascomavr bash basic4gl batch bf biblatex bibtex blitzbasic bnf boo caddcl cadlisp ceylon cfdg cfm chaiscript chapel cil c_loadrunner clojure c_mac cmake cobol coffeescript c cpp cpp-qt cpp-winapi csharp css cuesheet | + | The following language strings are currently recognized: //4cs 6502acme 6502kickass 6502tasm 68000devpac abap actionscript3 actionscript ada aimms algol68 apache applescript apt_sources arm asm asp asymptote autoconf autohotkey autoit avisynth awk bascomavr bash basic4gl batch bf biblatex bibtex blitzbasic bnf boo caddcl cadlisp ceylon cfdg cfm chaiscript chapel cil c_loadrunner clojure c_mac cmake cobol coffeescript c cpp cpp-qt cpp-winapi csharp css CUEsheet |
There are additional [[doku> | There are additional [[doku> | ||
- | ==== Downloadable Code Blocks ==== | + | ===== Downloadable Code Blocks |
When you use the '' | When you use the '' | ||
줄 438: | 줄 438: | ||
- | ===== Embedding HTML and PHP ===== | + | ====== Embedding HTML and PHP ====== |
You can embed raw HTML or PHP code into your documents by using the '' | You can embed raw HTML or PHP code into your documents by using the '' | ||
줄 488: | 줄 488: | ||
**Please Note**: HTML and PHP embedding is disabled by default in the configuration. If disabled, the code is displayed instead of executed. | **Please Note**: HTML and PHP embedding is disabled by default in the configuration. If disabled, the code is displayed instead of executed. | ||
- | ===== RSS/ATOM Feed Aggregation ===== | + | ====== RSS/ATOM Feed Aggregation |
[[DokuWiki]] can integrate data from external XML feeds. For parsing the XML feeds, [[http:// | [[DokuWiki]] can integrate data from external XML feeds. For parsing the XML feeds, [[http:// | ||
줄 500: | 줄 500: | ||
| //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 '' | By default the feed will be sorted by date, newest items first. You can sort it by oldest first using the '' | ||
줄 511: | 줄 511: | ||
- | ===== Control Macros ===== | + | ====== Control Macros |
Some syntax influences how DokuWiki renders a page without creating any output it self. The following control macros are availble: | Some syntax influences how DokuWiki renders a page without creating any output it self. The following control macros are availble: | ||
줄 519: | 줄 519: | ||
| %%~~NOCACHE~~%% | DokuWiki caches all output by default. Sometimes this might not be wanted (eg. when the %%< | | %%~~NOCACHE~~%% | DokuWiki caches all output by default. Sometimes this might not be wanted (eg. when the %%< | ||
- | ===== Syntax Plugins ===== | + | ====== Syntax Plugins |
DokuWiki' | DokuWiki' |
[홈레코딩 필독서]"모두의 홈레코딩"구매링크
wiki/syntax.txt · 마지막으로 수정됨: 2024/03/03 저자 127.0.0.1