]> git.ipfire.org Git - thirdparty/libvirt.git/commit
docs: process code blocks similar to Markdown
authorClaudio Bley <cbley@av-test.de>
Tue, 22 Jan 2013 12:45:11 +0000 (13:45 +0100)
committerClaudio Bley <cbley@av-test.de>
Wed, 30 Oct 2013 16:30:11 +0000 (17:30 +0100)
commit8213f6c38e2fc48e5ea37c8fb512b17d070c07fd
treeaddcc9f474aaf69bc0e22c0753da6e176082c223
parentf26701f565525dd402df021d8923489e62412158
docs: process code blocks similar to Markdown

Wrap pre-formatted example code in <code> elements. This works
similar to Markdown[1] code blocks[2]:

Every line indented with at least 2 spaces is considered a code
block and gets wrapped in <pre> and <code> tags.

Look at the documentation for e.g. virStreamSend for before-and-after
effects.

[1] http://daringfireball.net/projects/markdown/
[2] http://daringfireball.net/projects/markdown/syntax#precode
docs/newapi.xsl