sf
Wiki Syntax. Wiki syntax used on Glossword pages generally comes… ← ArticlesSupportA free dictionary/glossary PHP-script Guest  •  Sign In  •  Register a new account

Article: #kb-o Wiki Syntax. Wiki syntax used on Glossword pages generally comes…

  • Status: Published
  • Topic: Website
  • Applies to: No version
  • Wiki Syntax

    Wiki syntax used on Glossword pages generally comes from PHP Markdown wiki-engine, but with some changes and additions like implemented GeSHi - Generic Syntax Highlighter and a custom hash-tags.

    Headings

    1. = H1 =
    2. == H2 ==
    3. === H3 ===
    4. ==== H4 ====
    5. ===== H5 =====
    6. ====== H6 ======

    H1

    H2

    H3

    H4

    H5
    H6

    Font styles

    Wiki HTML
    **bold** bold
    __bold__ bold
    *italic* italic
    _italic_ italic
    ***bold and italic*** bold and italic
    ___bold and italic___ bold and italic

    Links

    Wiki HTML
    <http://glossword.biz/> http://glossword.biz/
    [Glossary compiler](http://glossword.biz/) Glossary compiler
    <team@glossword.biz>
    #kb-o Link to Knowledge base record #kb-o.
    #dl-1 Link to file from Downloads section #dl-1.
    [Wiki syntax](#kb-o) Link to Wiki syntax.

    Direct link to file

    phpmyadmin_glossword_theme.zip (143 KB)

    1. Direct link to file ![][dl-8]

    A special characters

    Wiki HTML
    A ==> B A → B
    B <== A B ← A
    A -- A A — A
    (c), (C) ©, ©
    (r), (R) ®, ®
    (TM), (tm) ™, ™
    40^o 40°
    ""quote"" «quote»
    ''quote'' „quote“

    Lists

    • Item 1
    • Item 2
    1. - Item 1
    2. - Item 2

    1. Item 1
    2. Item 2
    1. 1. Item 1
    2. 2. Item 2

    • Item 1.1
      • Item 1.2
    1. - Item 1.1
    2.   - Item 1.2

    term
    definition
    1. term
    2. : definition

    Images

    Images from Screenshots allowed only.

    1. ![Image description][img-3]

    Image description / 788×767, 152 KB
    Image description

    Align to right

    1. ![][img-1:]
    Managing a language translations / Управление языковыми переводами / 850×286, 42 KB
    Managing a language translations / Управление языковыми переводами

    Align to left

    1. ![][:img-q]
    Search in terms and definitions / 1280×800, 125 KB
    Search in terms and definitions

    Tables

    Head 1 Head 2
    Cell 1 Cell 2
    1. | Head 1 | Head 2 |
    2. | ------ | ------ |
    3. | Cell 1 | Cell 2 |

    Left Center Right
    Cell 1 Cell 2 Cell 3
    1. | Left | Center | Right |
    2. | :- | :-: | -: |
    3. | Cell 1 | Cell 2 | Cell 3 |

    Program code

    Inline code() sample

    1. Inline `code()` sample

    {{{ block code sample }}}

    1. {{{ block code sample }}}

    php
    1. <?php
    2. phpinfo();
    3. ?>
    1. {{{php
    2. phpinfo();
    3. }}}

    javascript
    1. alert( "Javascript" );
    1. {{{js
    2. alert( "Javascript" );
    3. }}}

    css
    1. .header { background-color: #EEE; }
    1. {{{css
    2. .header { background-color: #EEE; }
    3. }}}

    html
    1. <div> <span> <em>Contents</em> </span> </div>
    1. {{{html
    2. <div> <span> <em>Contents</em> </span> </div>
    3. }}}

    xml
    1. <?xml version="1.0" encoding="UTF-8"?>
    2. <glossword version="1.9.3">
    3. ...
    4. </glossword>
    1. {{{xml
    2. <?xml version="1.0" encoding="UTF-8"?>
    3. <glossword version="1.9.3">
    4. ...
    5. </glossword>
    6. }}}

    sql
    1. SELECT version();
    1. {{{sql
    2. select version();
    3. }}}

    apache
    1. ## no www
    2. RewriteCond %{HTTP_HOST} ^www\.glossword\.biz$ [NC]
    3. RewriteRule ^(.*)$ http://glossword.biz/$1 [R=301,L]
    1. {{{apache
    2. ## no www
    3. RewriteCond %{HTTP_HOST} ^www\.glossword\.biz$ [NC]
    4. RewriteRule ^(.*)$ http://glossword.biz/$1 [R=301,L]
    5. }}}

    bash
    1. cd existing_git_repo
    2. git remote add origin git@github.com:glosswordteam/Glossword.git
    3. git push origin master
    1. {{{bash
    2. cd existing_git_repo
    3. git remote add origin git@github.com:glosswordteam/Glossword.git
    4. git push origin master
    5. }}}

    ini
    1. LJADM0001=Control Panel
    2. LJADM0002=Configure component
    3. LJADM0003=Continue to Control Panel
    1. {{{ini
    2. LJADM0001=Control Panel
    3. LJADM0002=Configure component
    4. LJADM0003=Continue to Control Panel
    5. }}}

    robots
    1. User-agent: *
    2. Disallow: /admin/
    3. Disallow: /phpmyadmin/
    1. {{{robots
    2. User-agent: *
    3. Disallow: /admin/
    4. Disallow: /phpmyadmin/
    5. }}}
  • Created: , DmitrySh
  • Modified:

New comment

Discussion closed.