Special formatting

posted on 19 May 2010 under category Tips, Markdown, Typography

In this post I will showcase some of the “special” features of YAMT. This post is pretty long, so let’s start with a Table of Content (ToC).

Code:

* random line to make it work. This will be removed.
{:toc}


### Syntax Highlight

In YAMT you can highlight code in various ways.

Basic example:

public static void main (String[] args){
System.out.println("Hello World!");
}


Code:

     lang



Example:

Code:

    {/% highlight lang %}