Informatik und Kram

Da wir lange nicht wußten, wo wir das für die Uni ausgearbeitete Material unterbringen sollten und auch einen schrecklichen Drang hatten der Welt diverse Sachen aufzudrücken...

QTMML - Test and HowTo
de-flagge aktiviert en-flagge aktiviert

This site is for testing QTMML and contains all commands and functions from the ultimate "Quick Text MMarkup Language", which we use here on Infolexikon. This is a brave attempt to merge the advantages of a QuickMarkupLanguage (fast, hazzle-free and easy to keep text formatting) like Textile with the comfort of a TemplateLanguage like seen in Django and such. From this idea - or something like that - QTMML was born.

Hyperlinks

A simple hyperlink is automaticly created, if you write the plain URL into the document (http://www.infolexikon.de), further you can create named hyperlinks (to the Infolexikon).
My link is |here| or |also with spaces|,
just assign the URL somewhere:

#||| "also with spaces" http://www.infolexikon.de
#||| here http://www.infolexikon.de
Most URLs will be matched directly inside the document, but for the most of them, unless they point at a top-level-domain, the second method has to be favoured because a) keep the long/unfancy links away and b) to hide the "low-level" details from the user

Formatting

To emphase single words or phrases, there is of course the possibility to bolder the text, italic text is also not a big deal, exactly as with underlined text.

Bold

To **show text in bold**, just enframe the text with two asterix

Kursiv

Equaly for */italic text with an asterix and a slash/*.

Underlined

and finally *_asterix and underscore_* to underline the text.

Structuring

To structure your document, QTMML provides the well known HTML mechanisms packed in another favor:

Headlines

! Cupboard (<h1>)
!! Book (<h2>)
!!! Chapter (<h3>)
!!!! Paragraph (<h4>)
It is important to always begin with the level "!", because the automated table-of-contents creator relies on that.

Lists

  • For
  • itemization
  • useful
  • - a hypen starts the line and finished is this item
    

    Pictures and Files

    Pictures

    ||| image_X
    
    Every picture can be integrated to the article as thumnail or as the whole picture. You simply have to assign the picture/file to the right article and reference it with the following commands, while the X stands for the chronological order of the picture inside the article. To get the thumbnail you just need the appropriate command and the same chronological number as used for the regular picture.
    ||| thumb_X
    

    Files

    can be easily made accessible, you just need to upload the file and reference it like that:
    ||| file_Y
    
    It's imporant to say, that the Y count is independent from the image/thumb counter (i guess).

    (Source)code

    Would we like to place some code inside the document, then just issue the following command
    |||"code"
     my code is here, to avoid problems with this article
     remove the " before and after the |||(end)code command
    |||"endcode"
    

    Table of Contents

    A fully automagicly created Table of Contents is shown with the following command:
    ||| tableofcontents
    
    The effect can be seen at top of the page, additionaly each headline gets an anchor, which can then be directly accessed through the Table of Contents.

    Kommentare

    Kommentar schreiben