Skip to content
jnweiger edited this page Jan 30, 2012 · 2 revisions

They say, that markdown is the wiki syntax of the future.

A header is not

associated directly with its body text.

The body text allows line breaks, which are not rendered as is, but re-wrapped to fill the page width nicely.

We hit two carriage-returns (inserting a blank line) to indicate the start of a new paragraph. Inside the paragraph, we have an ordered list.

  1. We check if the markup actually works, without being at the beginning of the line. I doubt this.

  2. then, a list item should not be restricted to a single long line. I want to continue the lengthy list item on multiple lines. This is a must have. Also, we want to be able to use code markup inside the list item, like here:

     main(int argc, char **argv)
     {
       printf("hello, this is Wiki's World\n");
     }
    
  3. text for the ordered list can be on multiple lines, it can even be structured in seperate paragraphs. that is nice.

    See this is The second para of this list item. Above er have a block of code inside a list item. The instruction for code block is 'indent by 4'. And the instruction for list body paras is also 'indent by 4', indenting by 4 now does both: Create a code block inside a list. But if you like, you still can write everything in one line... as with ol` mediawiki.

  4. Interesting syntax for placing images. Let us assume, I want to embed an image, that is a link to some website. How do we do that? The instructions say, that I just prefix the link of the image with an exclamation mark, and then the image is embedded, rather than linked.

    Let us try that. Alt text here.

    SMILEY In case of a broken image, we see the alt text.

    Smiley a relative URL.

    Smiley the link back to the main page is called simply 'home' without 'wiki/' prefix.

    Smiley an icon linking back, is also possible. The syntax is the most natural way of writing it: Instead of plain label text, we place the embed image markup. cool.

Clone this wiki locally