TOP Character reference

Wiki記法リファレンス

characters

アンダースコア2個__attribute____attibute__
ident(space x4)    ident    ident
backslash\\
slash-slash////
mid-dot··
強制改行1
2
3
1~~2~~3
tilda-tilda~~~~
asterisk**
exclamation!&#33
yen¥¥
colorgreen on black&color(green,black){green on black}
at mark@@
Zero00
asterisk**
bar||
[[[
]]]
minus--
plus++
>>>
<<&lt;
carret^&#94;
<pre></pre>sample=||
formatted text
||=
anchor name=&aname(anchor)
sup10210&sup(){2}
subAijA__ij__
footnote*1
*2
((foot note1))
((foot note2))


pre

=||
 formatted text
||=

リスト記法 ol,ul,dl

記法名記法説明
箇条書きリスト-〜〜
--〜〜
---〜〜
箇条書きのリスト(<ul><li>)を作成します
番号付きリスト+〜〜
++〜〜
+++〜〜
番号付きのリスト(<ol><li>)を作成します
定義リスト:定義語|説明文定義リスト(<dl><dt><dd>)を作成します
  • UL1        -UL1
  • UL2        -UL2
    • UL2.1     --UL2.1
    • UL2.2     --UL2.2
      • UL2.2.1  ---UL2.2.1
      • UL2.2.2  ---UL2.2.2
    • UL2.3     --UL2.3
  • UL3        -UL3
  1. OL1        +OL1
  2. OL2        +OL2
    1. OL2.1     ++OL2.1
    2. OL2.2     ++OL2.2
      1. OL2.2.1  +++OL2.2.1
      2. OL2.2.2  +++OL2.2.2
    3. OL2.3     ++OL2.3
  3. OL3        +OL3

DT1
DD1.0        :DT1|DD1.0
DT2
DD2.0|DD2.1  :DT2|DD2.0&124;DD2.1 ... DD2.1 won't work
:DT3              :DT3                 ... DT3   won't work
DT4
DT4.0        :DT4|DD4.0

table

span

horizontal connectionput '>' in the left column to be merged
>horizontal connection
vertical connectionput '^' at lower cell
^

test

ABCD
ABCD
CC

test

// console application
// vim:encoding=cp932
// vim:fileencoding=utf-8

#include <stdio.h>
#include <stdlib.h>

#ifndef TRUE
#define TRUE (0==0)
#define FALSE (!TRUE)
#endif

struct {
    char i;
    short j;
    char k;
} __attribute__ *3 TEST1;

char tilda( char i){
    return ~i;
}
int main(int argc,char ** argv){
    int c;
    int prev_c = '\0';
    int lf;
    int spc;
    int tab=0;

    while *4 != EOF){
        if(prev_c == '\n') lf = TRUE;
        else lf=FALSE;
        if(prev_c == ' '|| prev_c == '\t') spc = TRUE;
        else spc=FALSE;
        if(lf==TRUE) tab = 0;
        prev_c = c;
        tab ++;

        if(lf == TRUE){
            switch(c){
                case '/': printf("&#47;"); break;
                case '\\': printf("&#92;"); break;
                case '~': printf("&#126;"); break;
                case '_': printf("&#95;") ; break;
                case ' ': printf("&nbsp;") ; break;
                case '*': printf("&#42;") ; break;
                case '&': printf("&amp;") ; break;
                case '<': printf("&lt;") ; break;
                case '>': printf("&gt;") ; break;
                case '\t':
                    do {
                        printf("&nbsp;") ;
                    } while ((tab++ %4) != 0);
                    break;
                default:
                    putchar(c);
            }
        } else {
            switch(c){
                case '_': printf("&#95;") ; break;
                case '&': printf("&amp;") ; break;
                case '<': printf("&lt;") ; break;
                case '>': printf("&gt;") ; break;
                case '\t':
                    do {
                        printf("&nbsp;") ;
                    } while ((tab++ %4) != 0);
                case ' ':
                    if(spc == TRUE) printf("&nbsp;") ;
                    else putchar(c);
                    break;
                default:
                    putchar(c);
            }
        }
    }
    return EXIT_SUCCESS;
}

管理人/副管理人のみ編集できます