Invenzzia »

Separating the frames in Markdown

From Invenzzia wiki

Jump to: navigation, search

Sometimes you might want to put two frames one after another. However, the Markdown language specification does not provide any tools to mark that they are in fact two frames rather than one bigger. Take a look at this:

> [warning]
> This is the frame 1.

> [information]
> And this is the frame 2.

By default, Markdown produces a one frame from the code above. If we want to get two separate ones, we need to perform a little trick:

> [warning]
> This is the frame 1.

<!-- ... -->

> [information]
> And this is the frame 2.

We have simply added a HTML comment to separate the content and now our document contains two nice frames.

Personal tools