差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン最新のリビジョン両方とも次のリビジョン | ||
syntaxtest [2007/06/08 23:56] – nakayama | syntaxtest [2023/04/08 17:46] – ともやん | ||
---|---|---|---|
行 1: | 行 1: | ||
- | * [[wiki: | + | ====== はろ〜わ〜るど ====== |
- | * 上の「Wikiの構文については [[wiki: | + | [C] |
- | + | <WRAP color_term> | |
- | * この場は、自由に実験しています。適当に追加して実験してください。=) | + | <WRAP color_mincode>< |
- | + | ||
- | ====== WikiTest H1 ====== | + | |
- | 勝手に区切ってくれるようです | + | |
- | ===== WikiTest H2 ===== | + | |
- | 勝手に区切ってくれるようです | + | |
- | ==== WikiTest H3 ==== | + | |
- | 勝手に区切ってくれません | + | |
- | === WikiTest H4 === | + | |
- | 勝手に区切ってくれません | + | |
- | == WikiTest H5 == | + | |
- | 勝手に区切ってくれません | + | |
- | + | ||
- | H1~H3は勝手に目次が作られるご様子。 | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | ====== 実験 | + | |
- | Normal WikiTest\\ | + | |
- | Code '' | + | |
- | UnderLine __WikiTest__\\ | + | |
- | Bold **WikiTest**\\ | + | |
- | Italic // | + | |
- | ItalicBold1 // | + | |
- | ItalicBold2 **// | + | |
- | StrikeLine < | + | |
- | subscript < | + | |
- | superscript < | + | |
- | + | ||
- | ノードの分かれるような多重リストはどう作るのかは不明 | + | |
- | ---- | + | |
- | - 記号付きリスト1 | + | |
- | - 記号付きリスト2 | + | |
- | - 記号付きリスト3 | + | |
- | - 記号付きリスト4 | + | |
- | - 記号付きリスト5 | + | |
- | - 記号付きリスト6 | + | |
- | + | ||
- | ---- | + | |
- | * 記号なしリスト1 | + | |
- | * 記号なしリスト2 | + | |
- | * 記号なしリスト3 | + | |
- | * 記号なしリスト4 | + | |
- | * 記号なしリスト5 | + | |
- | * 記号なしリスト6 | + | |
- | ---- | + | |
- | リストからは、1行は空けないと区切り線にはならないご様子 | + | |
- | ---- | + | |
- | + | ||
- | 列ヘッダ | + | |
- | ^ Header 1 ^ Header 2 ^ Header 3 ^ | + | |
- | | Row 1 Col 1 | Row 1 Col 2 | Row 1 Col 3 | | + | |
- | | Row 2 Col 1 | 列合成を行った場合(Pipeを連続させる)|| | + | |
- | | Row 3 Col 1 | Row 2 Col 2 | Row 2 Col 3 | | + | |
- | + | ||
- | 行ヘッダ | + | |
- | ^ VerticalHeader0| Row 0 Col 0 | Row 0 Col 1 | Row 0 Col 2 | | + | |
- | ^ VerticalHeader1| 3列で合成を行う||| | + | |
- | ^ VerticalHeader2| Row 2 Col 0 | Row 2 Col 1 | Row 2 Col 2 | | + | |
- | + | ||
- | 行列ヘッダ | + | |
- | | ^ HorizonHeader0 | + | |
- | ^ VerticalHeader0| Row 0 Col 0 | Row 0 Col 1 | | + | |
- | ^ VerticalHeader1| 列を合成しない場合| | + | |
- | ^ VerticalHeader2| Row 2 Col 0 | Row 2 Col 1 | | + | |
- | + | ||
- | 応用 | + | |
- | | ^ HorizonHeader0 | + | |
- | | ^ Area1Header0 ^ Area1Header1 ^ Area1Header2 ^ Area1Header3 ^ | + | |
- | ^ VerticalHeader0| Row 0 Col 0 | Row 0 Col 1 | Row 0 Col 2 | Row 0 Col 3 | | + | |
- | ^ VerticalHeader1| Row 1 Col 0 | Row 1 Col 1 | Row 1 Col 2 | Row 1 Col 3 | | + | |
- | ^ VerticalHeader2| Row 2 Col 0 | Row 2 Col 1 | Row 2 Col 2 | Row 2 Col 3 | | + | |
- | ^ VerticalHeader3| Row 3 Col 0 | Row 3 Col 1 | Row 3 Col 2 | Row 3 Col 3 | | + | |
- | | ^ Area2Header0 ^ Area2Header1 ^ Area2Header2 ^ Area2Header3 ^ | + | |
- | ^ VerticalHeader4| Row 4 Col 0 | Row 4 Col 1 | Row 4 Col 2 | Row 4 Col 3 | | + | |
- | ^ VerticalHeader5| Row 5 Col 0 | Row 5 Col 1 | Row 5 Col 2 | Row 5 Col 3 | | + | |
- | ^ VerticalHeader6| Row 6 Col 0 | Row 6 Col 1 | Row 6 Col 2 | Row 6 Col 3 | | + | |
- | ^Total | + | |
- | ^ | + | |
- | ^ | + | |
- | 配置によって自動的にTextAlignが確定する仕様なようで。 | + | |
- | + | ||
- | ---- | + | |
- | + | ||
- | 行頭に1個スペースだと変わらず~\\ | + | |
- | | + | |
- | For example this is a link to Wikipedia' | + | |
- | + | ||
- | 行頭に2個以上スペースでコード的表示かな。 | + | |
- | DokuWiki supports [[doku> | + | |
- | For example this is a link to Wikipedia' | + | |
- | + | ||
- | 空行でもスペースが入るとコードとして連続してくれるご様子。 | + | |
- | ''' | + | |
- | | + | |
- | End Sub | + | |
- | + | ||
- | ''' | + | |
- | | + | |
- | End Sub | + | |
- | + | ||
- | VBソース表示用プラグインで表示 (タグはたぶんあってると思うけど、.netタグがあるかもしれない) | + | |
- | <code vbnet> | + | |
- | Dim _sampleS As String | + | |
- | Private _sampleI As Integer | + | |
- | Protected Frined _sampleB As Boolean | + | |
- | + | ||
- | ''' | + | |
- | Public Sub New() | + | |
- | End Sub | + | |
- | + | ||
- | ''' | + | |
- | Public Sub SampleMethod(ByVal sampleString As String, | + | |
- | | + | |
- | End Sub | + | |
- | </ | + | |
- | + | ||
- | Javaの人にサンプルをお願い | + | |
- | <code java> | + | |
- | public class HelloWorld { | + | |
- | public static void main(String[] args) { | + | |
- | System.out.println(" | + | |
- | } | + | |
- | } | + | |
- | </ | + | |
- | + | ||
- | Cの人にサンプルをお願い (タグがあってるかは不明) | + | |
- | <code c> | + | |
#include < | #include < | ||
行 148: | 行 12: | ||
return 0; | return 0; | ||
} | } | ||
- | </ | + | </code></ |
+ | </WRAP> | ||
- | C#の人にサンプルをお願い (タグがあってるかは不明) | + | [C++] |
- | <code csharp> | + | <WRAP color_term> |
+ | <WRAP color_mincode>< | ||
+ | #include < | ||
+ | |||
+ | using namespace std; | ||
+ | |||
+ | // 定番のこんにちは世界 | ||
+ | int main(int argc, char *argv[]) | ||
+ | { | ||
+ | cout << "Hello World!!" | ||
+ | |||
+ | return 0; | ||
+ | } | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | [C#] | ||
+ | <WRAP color_term> | ||
+ | <WRAP color_mincode> | ||
using System; | using System; | ||
行 167: | 行 50: | ||
} | } | ||
} | } | ||
- | </ | + | </code></ |
+ | </WRAP> | ||
- | <code cpp> | + | [Python] |
- | #include < | + | <WRAP color_term> |
- | + | <WRAP color_mincode>< | |
- | using namespace std; | + | |
- | + | ||
- | // 定番のこんにちは世界 | + | |
- | int main(int argc, char *argv[]) | + | |
- | { | + | |
- | cout << "Hello World!!" | + | |
- | + | ||
- | return 0; | + | |
- | } | + | |
- | </code> | + | |
- | + | ||
- | <code python> | + | |
# | # | ||
# -*- coding: utf-8 -*- | # -*- coding: utf-8 -*- | ||
行 193: | 行 65: | ||
if __name__ == ' | if __name__ == ' | ||
main() | main() | ||
- | </ | + | </code></ |
+ | </WRAP> | ||
- | <code sql> | + | [Java] |
+ | <WRAP color_term> | ||
+ | <WRAP color_mincode>< | ||
+ | public class HelloWorld { | ||
+ | public static void main(String[] args) { | ||
+ | System.out.println(" | ||
+ | } | ||
+ | } | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | [SQL] | ||
+ | <WRAP color_term> | ||
+ | <WRAP color_mincode> | ||
/* SQL */ | /* SQL */ | ||
SELECT | SELECT | ||
+ | 'Hello World!!' | ||
CASE COL1 | CASE COL1 | ||
WHEN ' | WHEN ' | ||
行 206: | 行 93: | ||
FROM TABLE1 a | FROM TABLE1 a | ||
INNER JOIN TABLE2 b ON a.COL1 = b.COL2 AND a.COL2 = b.COL2 | INNER JOIN TABLE2 b ON a.COL1 = b.COL2 AND a.COL2 = b.COL2 | ||
- | WHERE COL1 LIKE '[1234567899]0*' | + | WHERE COL1 LIKE '[123456789]0%' |
- | </ | + | </code></ |
+ | </WRAP> | ||
- | <code asm> | + | [Assembler] |
+ | <WRAP color_term> | ||
+ | <WRAP color_mincode> | ||
; 16bit com形式 | ; 16bit com形式 | ||
org 100h | org 100h | ||
行 221: | 行 111: | ||
msg db ' | msg db ' | ||
- | </ | + | </code></ |
+ | </WRAP> | ||
- | <code delphi> | + | [Delphi] |
+ | <WRAP color_term> | ||
+ | <WRAP color_mincode> | ||
program HelloWorld; | program HelloWorld; | ||
uses | uses | ||
Dialogs; | Dialogs; | ||
begin | begin | ||
- | ShowMessage(' | + | ShowMessage(' |
end. | end. | ||
- | </ | + | </code></ |
+ | </WRAP> | ||
| | ||
- | | + | 4cs 6502acme 6502kickass 6502tasm 68000devpac abap actionscript3 |
- | + | ||
- | コード表示での文字がデカすぎるが・・・。小さくするにはどうするのだろう?\\ | + | |
- | SyntaxHelpが英語だけでわかりにくいので、そのうち日本語版を拾ってきましょう。\\ | + | |
- | もしくは自作する方向で。 | + |