wiki:syntax
차이
문서의 선택한 두 판 사이의 차이를 보여줍니다.
wiki:syntax [2021/02/17 08:39] – 이전 판으로 되돌림 (2016/11/02 23:09) 62.210.188.216 | wiki:syntax [2024/08/16 05:25] (현재) – 바깥 편집 127.0.0.1 | ||
---|---|---|---|
줄 1: | 줄 1: | ||
- | * 본 문서는 [[https:// | + | ====== |
- | ====== | + | |
- | DokuWiki는 가능한 한 데이타 파일들을 쉽게 읽어들이기 위해 사용하기 쉬운 markup 언어를 지원하고 있습니다. | + | |
- | 이 페이지는 문서들을 편집할 때 사용가능한 모든 문법들을 설명하고 있습니다. | + | |
- | 간단하게 이 페이지 상단과 하단에 있는 //페이지 편집// 버튼을 누르면, 페이지 원문(소스)을 볼 수 있습니다. | + | [[doku> |
- | 시험 삼아 편집을 해보고 싶다면 | + | |
- | 더 쉽게 문법을 익히려면 | + | |
- | ===== 기본적인 텍스트 형식 | + | ===== Basic Text Formatting |
- | DokuWiki는 **굵은 글씨**, // | + | |
- | 물론 **__//'' | + | |
- | | + | DokuWiki |
- | 물론 | + | |
+ | DokuWiki supports **bold**, //italic//, __underlined__ and '' | ||
+ | Of course you can **__//'' | ||
- | <sub>아랫 첨자</ | + | You can use <sub>subscript</ |
- | < | + | |
+ | You can use < | ||
- | 더 나아가 | + | You can mark something as <del>deleted</ |
- | | + | |
- | 중간에 빈 행을 만들면,**단락(절)** 구분이 됩니다. | + | **Paragraphs** are created from blank lines. If you want to **force a newline** without a paragraph, you can use two backslashes followed by a whitespace or the end of line. |
- | 단락(절) 구분을 않고 | + | |
- | 문자 다음에 공백 문자(tab이나 space)를 사용하거나 새로운 행을 만듭니다. | + | |
- | 이 텍스트는 여러 행으로 이루어져 있습니다.\\ 2개의 backslash는 | + | This is some text with some linebreaks\\ Note that the |
- | 뒤에 공백문자가 오거나 새로운 행을 만든 경우에만\\ | + | two backslashes are only recognized at the end of a line\\ |
- | 처리되는 것을 | + | or followed by\\ a whitespace \\this happens without it. |
- | | + | |
- | | + | |
- | | + | |
- | 정말 필요한 경우에만 강제로 새 행 만들기를 사용하기 바랍니다. | + | You should use forced newlines only if really needed. |
- | ===== 연결 | + | ===== Links ===== |
- | DokuWiki는 링크를 만드는 여러가지 방법을 지원합니다. | + | DokuWiki |
- | ==== 외부 연결 | + | ==== External |
- | http:// | + | External links are recognized automagically: |
- | [[http:// | + | |
- | <test@splitbrain.org> | + | |
- | http:// | + | |
- | | + | automagically: |
- | | + | |
+ | | ||
- | ==== 내부 연결 | + | ==== Internal |
- | 내부 링크는 중첩된 대괄호 문자들을 사용해서 만들수 있습니다. | + | Internal links are created by using square brackets. You can either just give a [[pagename]] |
- | [[pagename]]처럼 페이지 이름을 그대로 사용하거나 | + | |
- | [[pagename|표시할 이름]] 처럼 페이지 이름을 직접 설정할 수도 있습니다. | + | |
- | [[pagename]]처럼 페이지 이름을 그대로 사용하거나 | + | |
- | | + | a [[pagename]] |
- | [[doku> | + | [[doku> |
- | 페이지 이름에 그침표(: | + | You can use [[some:namespaces]] by using a colon in the pagename. |
- | | + | |
- | 자세한 부분들은 | + | For details about namespaces see [[doku> |
- | 페이지 내의 특정 섹션에 링크하는 하려면 해쉬 기호(# | + | Linking to a specific section is possible, too. Just add the section name behind a hash character as known from HTML. This links to [[syntax#internal|this Section]]. |
- | [[syntax#내부 연결|이 섹션]]로 연결됬습니다. | + | |
- | [[syntax#내부 연결|이 섹션]]로 연결됩니다. | + | |
- | | + | |
- | 주석: | + | Notes: |
- | + | ||
- | * [[syntax|기존 페이지]]와 링크하는 것과 [[존재하지 않는 페이지]]와 링크하는 것은 표시되는 모습이 다릅니다.. | + | |
- | * 기본적으로 자동적으로 링크를 만들기 위한 [[wp> | + | |
- | * 섹션의 이름이 바뀐다면, | + | |
+ | * Links to [[syntax|existing pages]] are shown in a different style from [[nonexisting]] ones. | ||
+ | * DokuWiki does not use [[wp> | ||
+ | * When a section' | ||
==== Interwiki ==== | ==== Interwiki ==== | ||
- | Dokuwiki는 | + | DokuWiki supports |
- | InterWiki는 다른 Wiki에 대한 간편한 링크 방법입니다. | + | |
- | 예를 들어 | + | |
- | | + | |
- | InterWiki는 다른 Wiki에 대한 간편한 링크 방법입니다. | + | |
- | | + | |
- | ==== Windows | + | ==== Windows |
- | Windows | + | Windows |
- | 다만, | + | |
- | Windows | + | Windows |
- | 주석: | + | Notes: |
- | * 보안상의 이유로, Windows 공유 폴더를 직접 둘러볼 수 있는 것은, 기본적으로 | + | * For security reasons direct browsing of windows shares only works in Microsoft Internet Explorer |
- | * Mozilla나 Firefox에서는 | + | * For Mozilla |
- | + | <?php | |
- | LANG.nosmblinks = ''; | + | /** |
+ | * Customization of the english language file | ||
+ | * Copy only the strings that needs to be modified | ||
+ | */ | ||
+ | $lang[' | ||
+ | </ | ||
- | ==== 그림 연결 | + | ==== Image Links ==== |
- | 다음과 같이 링크에 관련된 문법과 | + | You can also use an image to link to another internal or external page by combining the syntax for links and [[#images_and_other_files|images]] (see below) like this: |
- | 내부링크와 외부 링크에 대해 이미지를 이용할 수 있습니다. | + | |
- | [[http://www.php.net|{{wiki: | + | [[http:// |
- | [[http://www.php.net|{{wiki: | + | [[http:// |
- | 주의: 링크 이름에서만 문법 서식이 사용 가능합니다. | + | Please note: The image formatting is the only formatting syntax accepted in link names. |
- | [[# | + | |
- | (그림 크기 변경, | + | |
+ | The whole [[# | ||
- | ===== 각주 | + | ===== Footnotes |
- | 중첩된 소괄호를 이용하여 각주((이것이 각주))를 추가할 수 있습니다. | + | You can add footnotes |
- | 중첩된 소괄호를 이용하여 각주((이것이 각주))를 추가할 수 있습니다. | + | |
+ | You can add footnotes ((This is a footnote)) by using double parentheses. | ||
- | ===== 구간 설정 | + | ===== Sectioning |
- | 문서 내용을 구조적으로 만들기 위한 구간을 최대 5단계까지 사용 가능합니다. | + | 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 ''< |
- | 구간 이름들을 3개 이상 가지고 있는 경우 목차가 자동적으로 생성됩니다. | + | ==== Headline Level 3 ==== |
- | 문서 내에 ''< | + | === Headline Level 4 === |
- | ==== 3단계 구간 이름 | + | == Headline Level 5 == |
- | === 4단계 구간 이름 | + | |
- | == 5단계 구간 이름 | + | |
- | ==== 3단계 구간 이름 | + | ==== Headline Level 3 ==== |
- | === 4단계 구간 이름 | + | === Headline Level 4 === |
- | == 5단계 구간 이름 | + | == Headline Level 5 == |
- | 대쉬 (-)를 네 개 이상 연속해서 사용한다면, 수평선을 만들수 있습니다 | + | By using four or more dashes, you can make a horizontal line: |
---- | ---- | ||
+ | ===== Media Files ===== | ||
- | ===== 그림과 다른 파일들 ===== | + | You can include external and internal [[doku> |
- | 중괄호를 사용하여 [[doku> | + | Real size: {{wiki: |
- | 실제 크기: {{wiki: | + | Resize to given width: {{wiki: |
- | 폭 변경: {{wiki: | + | Resize to given width and height((when the aspect ratio of the given width and height doesn' |
- | 폭과 높이를 변경((그림 가로세로비와 지정된 폭과 높이의 비율이 다른 경우는 크기 조율되기 전에 새로운 가로세로비에 맞춰집니다.)): | + | Resized external image: {{https:// |
- | 외부 그림 크기 변경: {{http://de3.php.net/ | + | Real size: |
+ | Resize to given width: | ||
+ | Resize to given width and height: {{wiki: | ||
+ | Resized external image: {{https://www.php.net/ | ||
- | 실제 크기: | ||
- | 폭 변경: | ||
- | 폭과 높이 변경: | ||
- | 외부 그림 크기 변경: | ||
- | 좌, | + | By using left or right whitespaces you can choose the alignment. |
{{ wiki: | {{ wiki: | ||
줄 174: | 줄 157: | ||
{{ wiki: | {{ wiki: | ||
- | 물론 그림 이름 역시 추가할 수 있습니다.(대부분의 브라우저에서 툴 팁으로 보여집니다) | + | Of course, you can add a title (displayed as a tooltip by most browsers), too. |
- | {{ wiki: | + | {{ wiki: |
- | {{ wiki: | + | {{ wiki: |
- | 지정된 그림파일명이 ("gif, jpeg, png" | + | For linking an image to another page see [[#Image Links]] above. |
- | 그림파일을 다른 문서로 링크하기 위해서는 위 [[#그림 연결]]을 참조해 주십시오. | + | ==== Supported Media Formats ==== |
- | ==== 지원되는 그림 및 미디어 파일 ==== | + | DokuWiki can embed the following media formats directly. |
- | DokuWiki가 지원하는 미디어 파일은 다음과 같습니다. | + | | Image | '' |
+ | | Video | '' | ||
+ | | Audio | '' | ||
+ | | Flash | '' | ||
- | | Image | '' | + | If you specify a filename that is not a supported media format, then it will be displayed as a link instead. |
- | | Video | '' | + | |
- | | Audio | '' | + | |
- | | Flash | '' | + | |
- | 지원되지 않는 파일을 지정하면 연결(링크)로 표시됩니다. | + | By adding '' |
- | + | ||
- | 끝에 | + | |
{{wiki: | {{wiki: | ||
- | {{wiki: | + | {{wiki: |
- | ==== 브라우저 호환 미디어 파일 | + | ==== 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. |
- | 예를 들어 | + | For example consider this embedded |
- | {{video.mp4|재미있는 영상}} | + | {{video.mp4|A funny video}} |
- | video.webm | + | When you upload a '' |
- | 그리고 같은 이름으로 jpg 또는 png로 그림파일을 같이 업로드 해주면 | + | Additionally |
- | ===== 목록 | + | ===== Lists ===== |
- | Dokuwiki는 번호 목록과 번호없는 목록들을 지원합니다. | + | Dokuwiki |
- | 스페이스2개로 들여쓰기 후에 번호없는 목록은 | + | |
- | * 목록입니다. | + | * This is a list |
- | * 2번째 항목 | + | * The second item |
- | * 다른 레벨이 있을 수도 있습니다. | + | * You may have different levels |
- | * 또 다른 항목 | + | * Another item |
- | - 번호 목록입니다. | + | - The same list but ordered |
- | - 또 다른 항목 | + | - Another item |
- | - 더 깊은 레벨을 사용하려면 단지 들여쓰기를 하면 됩니다. | + | - Just use indention for deeper levels |
- | - 이상 끝 | + | - That's it |
< | < | ||
- | * 목록입니다. | + | * This is a list |
- | * 2번째 항목 | + | * The second item |
- | * 다른 레벨이 있을 수도 있습니다. | + | * You may have different levels |
- | * 또 다른 항목 | + | * Another item |
- | - 번호 목록입니다. | + | - The same list but ordered |
- | - 또 다른 항목 | + | - Another item |
- | - 더 깊은 레벨을 사용하려면 단지 들여쓰기를 하면 됩니다. | + | - Just use indention for deeper levels |
- | - 이상 끝 | + | - That's it |
</ | </ | ||
- | [[doku>ko:faq:lists|목록에 관한 | + | Also take a look at the [[doku> |
- | ===== 문자 변환 | + | ===== Text Conversions |
- | DokuWiki는 특정 문자나 문자열을 그림이나 다른 문자, | + | DokuWiki |
- | 문자에서 그림으로의 변환 기능은 주로 스마일리를 통해 사용됩니다. 문자에서 | + | 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 |
- | Dokuwiki 는 일반적으로 사용되는 | + | DokuWiki converts commonly used [[wp> |
- | 이와 같은 | + | |
* 8-) %% 8-) %% | * 8-) %% 8-) %% | ||
줄 269: | 줄 247: | ||
* ;-) %% ;-) %% | * ;-) %% ;-) %% | ||
* ^_^ %% ^_^ %% | * ^_^ %% ^_^ %% | ||
+ | * m( %% m( %% | ||
* :?: %% :?: %% | * :?: %% :?: %% | ||
* :!: %% :!: %% | * :!: %% :!: %% | ||
줄 275: | 줄 254: | ||
* DELETEME %% DELETEME %% | * DELETEME %% DELETEME %% | ||
- | ==== 문자에서 | + | ==== Text to HTML Conversions |
- | 기호: [[Dokuwiki]]는 특정 문자열을 활자표기에 대응하는 문자로 변환할 수 있습니다. 이하는 인식가능한 문자열의 예를 표시합니다. | + | Typography: [[DokuWiki]] can convert simple text characters to their typographically correct entities. Here is an example of recognized characters. |
-> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) | -> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) | ||
줄 287: | 줄 266: | ||
</ | </ | ||
- | 마찬가지로 어떤 | + | The same can be done to produce any kind of HTML, it just needs to be added to the [[doku> |
- | 패턴 파일 설정에 의해 변환하는 것 이외에 3가지의 예외가 있습니다. 곱하기 기호 | + | There are three exceptions which do not come from that pattern file: multiplication entity |
- | ===== 인용 | + | ===== Quoting |
- | 때때로 댓글이거나 코멘트임을 표현하고 싶은 경우에 다음의 문법을 사용합니다. | + | Some times you want to mark some text to show it's a reply or comment. You can use the following syntax: |
- | 내 생각에는 우리가 해야 할 것 같은데. | + | <code> |
- | + | I think we should do it | |
- | | + | |
- | + | ||
- | >> 음, 우리가 해야 돼. | + | |
- | + | ||
- | > 정말로? | + | |
- | + | ||
- | >> 그래! | + | |
- | + | ||
- | >>> | + | |
- | 내 생각에는 우리가 해야 할 것 같은데. | + | > No we shouldn' |
- | > 아니, 하면 안돼 | + | >> Well, I say we should |
- | >> 음, 우리가 해야 돼. | + | > Really? |
- | > 정말로? | + | >> Yes! |
- | >> | + | >>> Then lets do it! |
+ | </ | ||
- | >>> | + | I think we should do it |
+ | > No we shouldn' | ||
- | ===== 표 ===== | + | >> Well, I say we should |
- | 간단한 문법으로 표(테이블)을 작성할 수 있습니다. | + | > Really? |
- | ^ 이름 1 ^ 이름 2 ^ 이름 3 ^ | + | >> Yes! |
- | | 행 1 열 1 | 행 1 열 2 | 행 1 열 3 | | + | |
- | | 행 2 열 1 | 열 병합 (주의: 파이프 문자가 2개 연속) | + | |
- | | 행 3 열 1 | 행 2 열 2 | 행 2 열 3 | | + | |
- | 표의 일반적인 행들은 시작과 끝에 '' | + | >>> |
- | ^ 이름 1 ^ 이름 2 ^ 이름 3 ^ | + | ===== Tables ===== |
- | | 행 1 열 1 | 행 1 열 2 | 행 1 열 3 | | + | |
- | | 행 2 열 1 | 열 병합 (주의: 파이프 문자가 2개 연속) | + | |
- | | 행 3 열 1 | 행 2 열 2 | 행 2 열 3 | | + | |
- | 셀을 수평으로 병합하려면 위에서 보여지듯이 다음 셀의 내용을 전부 비워둡니다. | + | DokuWiki supports a simple syntax to create tables. |
- | 셀을 구분하기 위한 파이프 문자는 어느 행이든 같은 수만큼 필요하니 주의하시기 바랍니다. | + | |
- | 행 이름도 사용할 수 있습니다. | + | ^ Heading 1 ^ Heading 2 ^ Heading 3 ^ |
+ | | Row 1 Col 1 | Row 1 Col 2 | Row 1 Col 3 | | ||
+ | | Row 2 Col 1 | some colspan (note the double pipe) || | ||
+ | | Row 3 Col 1 | Row 3 Col 2 | Row 3 Col 3 | | ||
- | | | + | Table rows have to start and end with a '' |
- | ^ 이름 3 | 행 1 열 2 | 행 1 열 3 | | + | |
- | ^ 이름 4 | 열 병합은 없음 | + | |
- | ^ 이름 5 | 행 2 열 2 | 행 2 열 3 | | + | |
- | 보다시피, | + | ^ Heading 1 ^ Heading 2 ^ Heading 3 ^ |
+ | | Row 1 Col 1 | Row 1 Col 2 | Row 1 Col 3 | | ||
+ | | Row 2 Col 1 | some colspan (note the double pipe) || | ||
+ | | Row 3 Col 1 | Row 3 Col 2 | Row 3 Col 3 | | ||
- | | ^ 이름 1 ^ 이름 2 ^ | + | To connect cells horizontally, |
- | ^ 이름 3 | 행 1 열 2 | 행 1 열 3 | | + | |
- | ^ 이름 4 | 열 병합은 없음 | + | |
- | ^ 이름 5 | 행 2 열 2 | 행 2 열 3 | | + | |
- | 행을 병합할 수도 있습니다. 행 병합을 할 경우에는 병합 대상 셀의 아래 셀 안에 ":::" | + | Vertical tableheaders are possible, too. |
- | ^ 이름 | + | | |
- | | 행 1 열 1 | 행 병합 | + | ^ Heading |
- | | 행 2 열 1 | + | ^ Heading 4 |
- | | 행 3 열 1 | + | ^ Heading 5 |
- | 이 셀들에 ":::" 이외의 문자열을 입력할 수 없습니다. | + | As you can see, it's the cell separator before a cell which decides about the formatting: |
- | ^ 이름 | + | |
- | | 행 1 열 1 | 행 병합 | + | |
- | | + | |
- | | + | |
- | 표의 내용을 정렬할 수 있습니다. 2개 이상의 공백문자를 텍스트의 반대쪽에 추가하면 됩니다. | + | You can have rowspans (vertically connected cells) by adding '' |
- | 즉, 오른쪽으로 정렬하려면 왼쪽으로 스페이스 2개를, 왼쪽으로 정렬하려면 오른쪽으로 스페이스 2개를 추가합니다. | + | |
- | 가운데로 정렬하려면 텍스트의 양쪽 끝에 스페이스 2개를 추가합니다. | + | |
- | ^ | + | ^ Heading 1 ^ Heading 2 |
- | | | + | | Row 1 Col 1 | this cell spans vertically | Row 1 Col 3 | |
- | |왼쪽 | + | | Row 2 Col 1 | ::: | Row 2 Col 3 | |
+ | | Row 3 Col 1 | ||
+ | |||
+ | Apart from the rowspan syntax those cells should not contain anything else. | ||
+ | |||
+ | ^ Heading 1 ^ Heading 2 ^ Heading 3 ^ | ||
+ | | Row 1 Col 1 | this cell spans vertically | Row 1 Col 3 | ||
+ | | Row 2 Col 1 | ||
+ | | Row 3 Col 1 | ::: | Row 2 Col 3 | | ||
+ | |||
+ | You can align the table contents, too. Just add at least two whitespaces at the opposite end of your text: Add two spaces on the left to align right, two spaces on the right to align left and two spaces at least at both ends for centered text. | ||
+ | |||
+ | ^ Table with alignment | ||
+ | | | ||
+ | |left | | ||
| xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | ||
- | 소스에서는 다음과 같이 보입니다. | + | This is how it looks in the source: |
- | ^ 정렬된 표 | + | ^ Table with alignment |
- | | | + | | right| |
- | |왼쪽 | + | |left |
| xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | ||
- | 주의: 세로정렬은 지원되지 않습니다. | + | Note: Vertical alignment is not supported. |
- | ===== 자동 변형하지 않는 블록 | + | ===== No Formatting |
- | 만약 입력한 대로 | + | If you need to display text exactly like it is typed (without any formatting), enclose the area either with '' |
< | < | ||
- | 이 텍스트에는 | + | This is some text which contains addresses like this: http:// |
</ | </ | ||
- | 마찬가지로 | + | The same is true for %%//__this__ text// with a smiley |
< | < | ||
- | | + | |
</ | </ | ||
- | | + | |
- | ===== 코드 블럭 | + | ===== Code Blocks |
- | 최소한 2개 이상의 스페이스로 들여쓰기를 하거나 | + | 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 '' |
- | | + | |
< | < | ||
- | 자동 변형이 끝난 코드입니다. 스페이스 수가 다음과 같이 유지됩니다. 예, | + | This is preformatted code all spaces are preserved: like |
</ | </ | ||
< | < | ||
- | 위와 같지만, 파일 내용을 표시할 때에 사용합니다. | + | This is pretty much the same, but you could use it to show that you quoted a file. |
</ | </ | ||
- | 위의 블럭은 아래와 같은 소스로부터 작성되었습니다. | + | Those blocks were created by this source: |
- | | + | |
< | < | ||
- | | + | |
</ | </ | ||
< | < | ||
- | | + | |
</ | </ | ||
- | ==== 구문 강조 | + | ==== Syntax Highlighting |
- | + | ||
- | DokuWiki는 소스 코드에 구문 강조를 사용하여, | + | |
- | DokuWiki는 일반적인 구문강조기 [[http:// | + | |
+ | [[wiki: | ||
<code java> | <code java> | ||
줄 443: | 줄 418: | ||
</ | </ | ||
- | 현재 다음과 같은 언어들을 지원합니다. | + | The following language strings are currently recognized: |
+ | |||
+ | There are additional [[doku> | ||
- | ==== 내려받을 수 있는 코드 블럭 | + | ==== Downloadable Code Blocks |
- | 앞서 말한 "%%< | + | When you use the '' |
< | < | ||
줄 459: | 줄 436: | ||
</ | </ | ||
- | 구문 강조를 하고 싶지는 않지만 다운로드할 수 있는 경우에는 | + | If you don't want any highlighting but want a downloadable file, specify a dash ('' |
+ | ===== RSS/ATOM Feed Aggregation ===== | ||
+ | [[DokuWiki]] can integrate data from external XML feeds. For parsing the XML feeds, [[http:// | ||
- | ===== HTML과 PHP 삽입 | + | ^ Parameter |
+ | | any number | will be used as maximum number items to show, defaults to 8 | | ||
+ | | reverse | ||
+ | | author | ||
+ | | date | show item dates | | ||
+ | | description| show the item description. All HTML tags will be stripped | | ||
+ | | nosort | ||
+ | | //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: |
- | HTML의 예: | + | By default the feed will be sorted by date, newest items first. You can sort it by oldest first using the '' |
- | < | + | **Example:** |
- | < | + | |
- | 이것은 <span style=" | + | |
- | </ | + | |
- | < | + | |
- | <p style=" | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | < | + | |
- | 이것은 <span style=" | + | |
- | </ | + | |
- | < | + | |
- | <p style=" | + | |
- | </ | + | |
- | + | ||
- | PHP의 예: | + | |
- | + | ||
- | < | + | |
- | < | + | |
- | echo 'PHP 버전: '; | + | |
- | echo phpversion(); | + | |
- | echo ' (생성된 인라인 HTML)'; | + | |
- | </ | + | |
- | < | + | |
- | echo '< | + | |
- | echo '< | + | |
- | echo '</ | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | < | + | |
- | echo 'PHP 버전: '; | + | |
- | echo phpversion(); | + | |
- | echo ' (생성된 인라인 HTML)'; | + | |
- | </ | + | |
- | < | + | |
- | echo '< | + | |
- | echo '< | + | |
- | echo '</ | + | |
- | </ | + | |
- | + | ||
- | **주의**: HTML과 PHP은 기본 설정에서는 동작하지 않도록 되어 있습니다. 만일 동작하지 않도록 되어 있는 경우에는 코드는 실행되는 대신에 그대로 표시됩니다. | + | |
- | + | ||
- | ===== RSS/ATOM 피드 읽기 ===== | + | |
- | [[DokuWiki]]는 외부 XML 피드에서 데이터를 얻어올 수 있습니다. XML 피드 해석에는 [[http:// | + | |
- | ^ 파라미터 | + | |
- | | 숫자 | + | |
- | | reverse | + | |
- | | author | + | |
- | | date | 날짜를 표시한다. | + | |
- | | description | + | |
- | | nosort | + | |
- | | // | + | |
- | + | ||
- | 업데이트 간격의 기본값은 4시간 입니다. 10분 미만으로 설정하면 10분으로 취급됩니다. 통상 Dokuwiki는 페이지의 캐쉬된 버전을 제공하려 하기 때문에 동적인 외부의 내용을 포함하는 데에는 명확하게 적당하지 않습니다. 페이지가 최후에 다시 쓰여지고 나서 // | + | |
- | + | ||
- | **예: ** | + | |
{{rss> | {{rss> | ||
줄 531: | 줄 460: | ||
{{rss> | {{rss> | ||
- | ===== 제어용 매크로 ===== | ||
- | 어떤 구문은 그 자신은 출력되지 않지만 DokuWiki 의 동작에 영향을 미칩니다. 아래와 같은 제어용 매크로를 이용할 수 있습니다. | + | ===== Control Macros ===== |
- | ^ 매크로 | + | Some syntax influences how DokuWiki |
- | | %%~~NOTOC~~%% | + | |
- | | %%~~NOCACHE~~%% | 기본값은 DokuWiki 는 모든 출력을 캐쉬합니다. 이 동작은 경우에 따라 바라지 않는 행동일 수 있습니다. (%%< | + | |
- | ===== 문법 플러그인 ===== | + | ^ Macro ^ Description | |
+ | | %%~~NOTOC~~%% | ||
+ | | %%~~NOCACHE~~%% | DokuWiki caches all output by default. Sometimes this might not be wanted (eg. when the %%< | ||
- | DokuWiki | + | ===== Syntax Plugins ===== |
- | 설치된 플러그인의 사용 방법은 각 플러그인의 설명 페이지에 있습니다. | + | |
- | 이 DokuWiki에서는 다음의 문법 플러그인이 사용 가능합니다. | + | DokuWiki's syntax can be extended by [[doku> |
~~INFO: | ~~INFO: | ||
- | |||
- | ===== 번역 ===== | ||
- | |||
- | //english version: dokuwiki-2006-03-09. // | ||
- | |||
- | //Add your email here if you created translated or modified whole or part of this page.// | ||
- | |||
- | * // | ||
- | * 번역시 일본어 문서를 참고 했습니다. | ||
- | |||
- | * // modified | ||
- | * // english version dokuwiki-2006-12-02 // | ||
- | * 매끄럽지 못한 일본식 표기 부분을 수정했습니다. | ||
- | * [[bootmeta@zoo.com|jk Lee]] - real mail domain is gmail, not zoo.com for spam filtering | ||
- | |||
- | * // modified | ||
- | * // english version dokuwiki-2010-01-15 // | ||
- | * 번역시 일본어 문서를 참고했습니다. | ||
- | * [[elofwind@gmail.com|Yu-Tak Kim]] | ||
- | |||
- | * // modified | ||
- | * // english version dokuwiki-2014-05-04 // | ||
- | * 영어문서에서 몇 가지 추가 및 변경된 내용을 적용했습니다. | ||
- | * 윈도우 공유폴더 파일 연결 | ||
- | * 미디어 파일 포맷 관련 내용 | ||
- | * PHP 삽입의 예제코드 변경된 것 | ||
- | * [[inbonk@zoo.com|In-Bon Kuh]] - real mail domain is gmail, not zoo.com for spam filtering | ||
- | |||
- | * // modified | ||
- | * // english version dokuwiki-2015-08-03 // | ||
- | * 영어문서에서 몇 가지 추가된 내용을 반영했습니다. | ||
- | * RSS/ATOM 피드의 nosort 파라미터 | ||
- | * 이미지 문법의 ''? | ||
- | * [[certoric@treewiki.esy.es|certoric]] |
wiki/syntax.1613551192.txt.gz · 마지막으로 수정됨: 2021/02/17 08:39 저자 62.210.188.216