PageRenderTime 22ms CodeModel.GetById 14ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 1ms

/test/marks/ok/inline.html

http://txt2tags.googlecode.com/
HTML | 52 lines | 42 code | 8 blank | 2 comment | 0 complexity | c9a491eba9ecc31bd03302987b209678 MD5 | raw file
 1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 2<HTML>
 3<HEAD>
 4<META NAME="generator" CONTENT="http://txt2tags.org">
 5</HEAD><BODY BGCOLOR="white" TEXT="black">
 6<CENTER>
 7</CENTER>
 8
 9
10<H2>Syntax: Marks are greedy and must be "glued" with contents</H2>
11
12<P>
13<br> <B>b</B>         <I>i</I>         <U>u</U>         <S>s</S>         <CODE>m</CODE>         r        t
14<br> <B>bo</B>        <I>it</I>        <U>un</U>        <S>st</S>        <CODE>mo</CODE>        ra       tg
15<br> <B>bold</B>      <I>ital</I>      <U>undr</U>      <S>strk</S>      <CODE>mono</CODE>      raw      tggd
16<br> <B>bo ld</B>     <I>it al</I>     <U>un dr</U>     <S>st rk</S>     <CODE>mo no</CODE>     r aw     tg gd
17<br> <B>bo * ld</B>   <I>it / al</I>   <U>un _ dr</U>   <S>st - rk</S>   <CODE>mo ` no</CODE>   r " aw   tg ' gd
18<br> <B>bo **ld</B>   <I>it //al</I>   <U>un __dr</U>   <S>st --rk</S>   <CODE>mo ``no</CODE>   r ""aw   tg ''gd
19<br> <B>bo ** ld</B>  <I>it // al</I>  <U>un __ dr</U>  <S>st -- rk</S>  <CODE>mo `` no</CODE>  r "" aw  tg '' gd
20<br> <B>**bold**</B>  <I>//ital//</I>  <U>__undr__</U>  <S>--strk--</S>  <CODE>``mono``</CODE>  ""raw""  ''tggd''
21<br> <B>*bold*</B>    <I>/ital/</I>    <U>_undr_</U>    <S>-strk-</S>    <CODE>`mono`</CODE>    "raw"    'tggd'
22</P>
23
24<H2>Syntax: Repetition is greedy</H2>
25
26<P>
27<br>  <B>*</B>         <I>/</I>         <U>_</U>         <S>-</S>         <CODE>`</CODE>        "        '
28<br>  <B>**</B>        <I>//</I>        <U>__</U>        <S>--</S>        <CODE>``</CODE>       ""       ''
29<br>  <B>***</B>       <I>///</I>       <U>___</U>       <S>---</S>       <CODE>```</CODE>      """      '''
30<br>  <B>****</B>      <I>////</I>      <U>____</U>      <S>----</S>      <CODE>````</CODE>     """"     ''''
31<br>  <B>*****</B>     <I>/////</I>     <U>_____</U>     <S>-----</S>     <CODE>`````</CODE>    """""    '''''
32<br>  <B>******</B>    <I>//////</I>    <U>______</U>    <S>------</S>    <CODE>``````</CODE>   """"""   ''''''
33</P>
34
35<H2>Invalid: No contents</H2>
36
37<P>
38<br>     ****          ////          ____          ----          ````         """"         ''''
39<br>     ** **         // //         __ __         -- --         `` ``        "" ""        '' ''
40</P>
41
42<H2>Invalid: Contents not "glued" with marks</H2>
43
44<P>
45<br>  ** bold**     // ital//     __ undr__     -- strk--     `` mono``    "" raw""     '' tggd''
46<br>  **bold **     //ital //     __undr __     --strk --     ``mono ``    ""raw ""     ''tggd ''
47<br>  ** bold **    // ital //    __ undr __    -- strk --    `` mono ``   "" raw ""    '' tggd ''
48</P>
49
50<!-- html code generated by txt2tags (http://txt2tags.org) -->
51<!-- cmdline: txt2tags -q -\-no-rc inline.t2t -->
52</BODY></HTML>