차이
문서의 선택한 두 판 사이의 차이를 보여줍니다.
| 양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
| wiki:syntax [2025/12/22 19:36] – [No Formatting] devany | wiki:syntax [2025/12/22 19:45] (현재) – [서식 문법 (Formatting Syntax)] devany | ||
|---|---|---|---|
| 줄 1: | 줄 1: | ||
| - | ====== 서식 문법 | + | ====== 서식 문법 ====== |
| - | [[doku> | + | [[doku> |
| ===== 기본 텍스트 서식 ===== | ===== 기본 텍스트 서식 ===== | ||
| 줄 355: | 줄 355: | ||
| </ | </ | ||
| 스마일리 ;-)가 포함된 %%//__이__ 텍스트// | 스마일리 ;-)가 포함된 %%//__이__ 텍스트// | ||
| - | ===== Code Blocks | + | ===== 코드 블록 |
| - | You can include code blocks into your documents by either indenting them by at least two spaces | + | 최소 두 개의 공백으로 들여쓰거나(이전 예시들에서 사용된 방식), '' |
| - | | + | |
| < | < | ||
| - | This is preformatted code all spaces are preserved: like <-this | + | 이것은 서식이 지정된 코드이며 모든 공백이 유지됩니다: 예시 |
| </ | </ | ||
| < | < | ||
| - | 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 ==== | + | [[wiki: |
| - | + | ||
| - | [[wiki: | + | |
| <code java> | <code java> | ||
| /** | /** | ||
| - | | + | * HelloWorldApp |
| - | | + | * "Hello World!" |
| */ | */ | ||
| class HelloWorldApp { | class HelloWorldApp { | ||
| public static void main(String[] args) { | public static void main(String[] args) { | ||
| - | System.out.println(" | + | System.out.println(" |
| } | } | ||
| } | } | ||
| </ | </ | ||
| - | 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 c_winapi dart dcl dcpu16 dcs delphi diff div dos dot d ecmascript eiffel email epc e erlang euphoria ezt f1 falcon fo fortran freebasic freeswitch fsharp gambas gdb genero genie gettext glsl gml gnuplot go groovy gwbasic haskell haxe hicest hq9plus html html4strict html5 icon idl ini inno intercal io ispfpanel java5 java javascript jcl j jquery julia kixtart klonec klonecpp kotlin latex lb ldif lisp llvm locobasic logtalk lolcode lotusformulas lotusscript lscript lsl2 lua m68k magiksf make mapbasic mathematica matlab mercury metapost mirc mk-61 mmix modula2 modula3 mpasm mxml mysql nagios netrexx newlisp nginx nimrod nsis oberon2 objc objeck ocaml-brief ocaml octave oobas oorexx oracle11 oracle8 oxygene oz parasail parigp pascal pcre perl6 perl per pf phix php-brief php pic16 pike pixelbender pli plsql postgresql postscript povray powerbuilder powershell proftpd progress prolog properties providex purebasic pycon pys60 python qbasic qml q racket rails rbs rebol reg rexx robots roff rpmspec rsplus ruby rust sas sass scala scheme scilab scl sdlbasic smalltalk smarty spark sparql sql sshconfig standardml stonescript swift systemverilog tclegg tcl teraterm texgraph text thinbasic tsql twig typoscript unicon upc urbi uscript vala vbnet vb vbscript vedit verilog vhdl vim visualfoxpro visualprolog whitespace whois winbatch wolfram xbasic xml xojo xorg_conf xpp yaml z80 zxbasic// | + | 현재 다음 언어들이 인식됩니다: //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 c_winapi dart dcl dcpu16 dcs delphi diff div dos dot d ecmascript eiffel email epc e erlang euphoria ezt f1 falcon fo fortran freebasic freeswitch fsharp gambas gdb genero genie gettext glsl gml gnuplot go groovy gwbasic haskell haxe hicest hq9plus html html4strict html5 icon idl ini inno intercal io ispfpanel java5 java javascript jcl j jquery julia kixtart klonec klonecpp kotlin latex lb ldif lisp llvm locobasic logtalk lolcode lotusformulas lotusscript lscript lsl2 lua m68k magiksf make mapbasic mathematica matlab mercury metapost mirc mk-61 mmix modula2 modula3 mpasm mxml mysql nagios netrexx newlisp nginx nimrod nsis oberon2 objc objeck ocaml-brief ocaml octave oobas oorexx oracle11 oracle8 oxygene oz parasail parigp pascal pcre perl6 perl per pf phix php-brief php pic16 pike pixelbender pli plsql postgresql postscript povray powerbuilder powershell proftpd progress prolog properties providex purebasic pycon pys60 python qbasic qml q racket rails rbs rebol reg rexx robots roff rpmspec rsplus ruby rust sas sass scala scheme scilab scl sdlbasic smalltalk smarty spark sparql sql sshconfig standardml stonescript swift systemverilog tclegg tcl teraterm texgraph text thinbasic tsql twig typoscript unicon upc urbi uscript vala vbnet vb vbscript vedit verilog vhdl vim visualfoxpro visualprolog whitespace whois winbatch wolfram xbasic xml xojo xorg_conf xpp yaml z80 zxbasic// |
| - | There are additional | + | 특정 줄을 강조하거나 줄 번호를 추가하는 것과 같은 추가적인 |
| + | ==== 다운로드 가능한 코드 블록 ==== | ||
| - | ==== Downloadable Code Blocks ==== | + | 위에서 설명한 |
| - | + | ||
| - | When you use the '' | + | |
| < | < | ||
| 줄 415: | 줄 413: | ||
| </ | </ | ||
| - | If you don't want any highlighting but want a downloadable file, specify a dash ('' | + | 구문 강조를 원하지 않지만 다운로드 가능한 파일을 만들고 싶다면, 언어 코드 자리에 대시('' |
| + | ===== RSS/ATOM 피드 통합 ===== | ||
| - | ===== RSS/ATOM Feed Aggregation ===== | + | [[DokuWiki]]는 외부 |
| - | [[DokuWiki]] | + | |
| - | ^ Parameter | + | ^ 매개변수 |
| - | | any number | + | | 숫자 |
| - | | reverse | + | | reverse | 피드의 마지막 항목을 먼저 표시합니다 |
| - | | author | + | | author | 항목 작성자 이름을 표시합니다 |
| - | | date | + | | date | 항목 날짜를 표시합니다 |
| - | | description| | + | | description | 항목 설명을 표시합니다. 모든 |
| - | | nosort | + | | nosort | 피드의 항목을 정렬하지 않습니다 |
| - | | //n//[dhm] | refresh period, where d=days, h=hours, m=minutes. (e.g. 12h = 12 hours). | | + | | //n//[dhm] | 새로고침 주기이며 |
| - | The refresh period defaults to 4 hours. Any value below 10 minutes will be treated as 10 minutes. [[wiki: | + | 새로고침 주기의 기본값은 |
| - | By default the feed will be sorted by date, newest items first. You can sort it by oldest first using the '' | + | 기본적으로 피드는 날짜별로 정렬되어 최신 항목이 먼저 표시됩니다. '' |
| - | **Example:** | + | **예시:** |
| {{rss> | {{rss> | ||
| {{rss> | {{rss> | ||
| + | ===== 제어 매크로 ===== | ||
| + | 일부 문법은 스스로 출력을 생성하지 않으면서 도쿠위키가 페이지를 렌더링하는 방식에 영향을 줍니다. 다음과 같은 제어 매크로를 사용할 수 있습니다: | ||
| - | ===== Control Macros | + | ^ 매개변수 ^ 설명 | |
| + | | %%~~NOTOC~~%% | ||
| + | | %%~~NOCACHE~~%% | 도쿠위키는 기본적으로 모든 출력을 캐시합니다. 때때로 이를 원하지 않을 경우(예: 위에서 설명한 %%< | ||
| + | ===== 문법 플러그인 | ||
| - | Some syntax influences how DokuWiki renders a page without creating any output it self. The following control macros are availble: | + | 도쿠위키의 문법은 |
| - | + | ||
| - | ^ Macro ^ Description | | + | |
| - | | %%~~NOTOC~~%% | + | |
| - | | %%~~NOCACHE~~%% | DokuWiki caches all output by default. Sometimes this might not be wanted (eg. when the %%< | + | |
| - | + | ||
| - | ===== Syntax Plugins ===== | + | |
| - | + | ||
| - | DokuWiki' | + | |
| ~~INFO: | ~~INFO: | ||
| - | |||