wiki:syntax
[공지]회원 가입 방법
[공지]글 작성 및 수정 방법
[홈레코딩 필독서]"모두의 홈레코딩"구매링크
[공지]글 작성 및 수정 방법
차이
문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판이전 판다음 판 | 이전 판 | ||
wiki:syntax [2019/09/04] – 정승환 | wiki:syntax [2024/03/03] (현재) – 바깥 편집 127.0.0.1 | ||
---|---|---|---|
줄 1: | 줄 1: | ||
- | ====== | + | ====== |
- | [[doku> | + | [[doku> |
- | 이 페이지는 문서들을 편집할 때 사용가능한 모든 문법들을 설명하고 있습니다. | + | |
- | 간단하게 이 페이지 상단과 하단에 있는 //페이지 편집// 버튼을 누르면, 페이지 원문(소스)을 볼 수 있습니다. | + | ===== Basic Text Formatting ===== |
- | 시험 삼아 편집을 해보고 싶다면 [[playground: | + | |
- | 더 쉽게 문법을 익히려면 [[doku> | + | |
- | ===== 기본적인 텍스트 형식 ===== | + | DokuWiki |
- | [[doku>DokuWiki]]는 **굵은 글씨**、 //기울임//、 __밑줄__ 、'' | + | |
- | 물론 | + | |
- | | + | DokuWiki |
- | | + | |
+ | You can use < | ||
- | <sub>아랫 첨자</ | + | You can use <sub>subscript</ |
- | < | + | |
+ | You can mark something as < | ||
- | 더 나아가 | + | 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. |
- | 중간에 빈 행을 만들면, | + | This is some text with some linebreaks\\ Note that the |
- | 단락(절) 구분을 않고 **강제로 새 행을 만들기**를 원한다면, | + | two backslashes are only recognized at the end of a line\\ |
- | 문자 다음에 공백 문자(tab이나 space)를 사용하거나 새로운 행을 만듭니다. | + | or followed by\\ a whitespace \\this happens without it. |
- | 이 텍스트는 여러 행으로 이루어져 있습니다.\\ 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. |
- | 이 텍스트는 여러 행으로 이루어져 있습니다.\\ 2개의 backslash는 | + | You should use forced newlines only if really needed. |
- | 뒤에 공백문자가 오거나 새로운 행을 만든 경우에만\\ | + | |
- | 처리되는 것을 \\주의하시기 바랍니다. | + | |
- | 정말 필요한 경우에만 강제로 새 행 만들기를 사용하기 바랍니다. | + | ===== Links ===== |
- | ===== 연결 ===== | + | DokuWiki supports multiple ways of creating links. |
- | [[doku> | + | ==== 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]] |
- | [[doku>ko:pagename]]처럼 페이지 이름을 그대로 사용하거나 | + | |
- | [[doku>ko:pagename|표시할 이름]] 처럼 페이지 이름을 직접 설정할 수도 있습니다. | + | |
- | [[doku>ko: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 | ||
+ | /** | ||
+ | * 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: | ||
줄 173: | 줄 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 | '' |
- | 스페이스2개로 들여쓰기 후에 번호없는 목록은 | + | | Video | '' |
+ | | Audio | '' | ||
+ | | Flash | '' | ||
- | * 목록입니다. | + | If you specify a filename that is not a supported media format, then it will be displayed as a link instead. |
- | * 2번째 항목 | + | |
- | * 다른 레벨이 있을 수도 있습니다. | + | |
- | * 또 다른 항목 | + | |
- | | + | By adding ''? |
- | - 또 다른 항목 | + | |
- | - 더 깊은 레벨을 사용하려면 단지 들여쓰기를 하면 됩니다. | + | {{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 mp4 video: | ||
+ | |||
+ | | ||
+ | |||
+ | When you upload a '' | ||
+ | |||
+ | Additionally DokuWiki supports a " | ||
+ | |||
+ | ===== Lists ===== | ||
+ | |||
+ | Dokuwiki supports ordered and unordered lists. To create a list item, indent your text by two spaces and use a '' | ||
+ | |||
+ | * This is a list | ||
+ | * The second item | ||
+ | | ||
+ | * Another item | ||
+ | |||
+ | | ||
+ | - 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-) %% | ||
줄 239: | 줄 247: | ||
* ;-) %% ;-) %% | * ;-) %% ;-) %% | ||
* ^_^ %% ^_^ %% | * ^_^ %% ^_^ %% | ||
+ | * m( %% m( %% | ||
* :?: %% :?: %% | * :?: %% :?: %% | ||
* :!: %% :!: %% | * :!: %% :!: %% | ||
줄 245: | 줄 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) | ||
줄 257: | 줄 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 ^ Heading 3 ^ |
- | | 오른쪽 | + | | Row 1 Col 1 |
- | | 왼쪽 | + | | Row 2 Col 1 |
- | | xxxxxxxxxxxx | + | | Row 3 Col 1 |
- | 소스에서는 다음과 같이 보입니다. | + | Apart from the rowspan syntax those cells should not contain anything else. |
- | ^ 정렬된 표 | + | ^ Heading 1 |
- | | | + | | Row 1 Col 1 | this cell spans vertically | Row 1 Col 3 | |
- | |왼쪽 | + | | Row 2 Col 1 | ::: | Row 2 Col 3 | |
+ | | Row 3 Col 1 | ||
+ | |||
+ | 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 | | ||
+ | |||
+ | This is how it looks in the source: | ||
+ | |||
+ | | ||
+ | | | ||
+ | |left | right| | ||
| 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> | ||
줄 412: | 줄 418: | ||
</ | </ | ||
- | 현재 다음과 같은 언어들을 지원합니다. | + | The following language strings are currently recognized: |
- | ==== 내려받을 수 있는 코드 블럭 ==== | + | There are additional [[doku> |
- | 앞서 말한 "%%< | + | ==== Downloadable Code Blocks ==== |
+ | |||
+ | When you use the '' | ||
< | < | ||
줄 428: | 줄 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 '< | + | |
- | echo '(HTML 인라인 요소를 생성)'; | + | |
- | </ | + | |
- | < | + | |
- | echo '< | + | |
- | echo '< | + | |
- | echo '</ | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | < | + | |
- | echo 'PHP 에 의해 생성된 로고:'; | + | |
- | echo '< | + | |
- | echo '(HTML 인라인 요소를 생성)'; | + | |
- | </ | + | |
- | < | + | |
- | echo '< | + | |
- | echo '< | + | |
- | echo '</ | + | |
- | </ | + | |
- | + | ||
- | **주의**: HTML과 PHP은 기본 설정에서는 동작하지 않도록 되어 있습니다. 만일 동작하지 않도록 되어 있는 경우에는 코드는 실행되는 대신에 그대로 표시됩니다. | + | |
- | + | ||
- | ===== RSS/ATOM 피드 읽기 ===== | + | |
- | [[DokuWiki]]는 외부 XML 피드에서 데이터를 얻어올 수 있습니다. XML 피드 해석에는 [[http:// | + | |
- | ^ 파라미터 | + | |
- | | 숫자 | + | |
- | | reverse | + | |
- | | author | + | |
- | | date | 날짜를 표시한다. | | + | |
- | | description | 개요를 표시한다. 포함되어 있는 모든 HTML 태그는 무시됩니다. | | + | |
- | | 숫자[dhm] | + | |
- | + | ||
- | 업데이트 간격의 기본값은 4시간 입니다. 10분 미만으로 설정하면 10분으로 취급됩니다. 통상[[Dokuwiki]]는 페이지의 캐쉬된 버전을 제공하려 하기 때문에 동적인 외부의 내용을 포함하는 데에는 명확하게 적당하지 않습니다. 페이지가 최후에 다시 쓰여지고 나서 // | + | |
- | + | ||
- | **예: ** | + | |
{{rss> | {{rss> | ||
줄 499: | 줄 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]] |
[홈레코딩 필독서]"모두의 홈레코딩"구매링크
wiki/syntax.txt · 마지막으로 수정됨: 2024/03/03 저자 127.0.0.1