motyl

Opinionated blog-aware static site generator written in Ruby
Log | Files | Refs | README | LICENSE

commit a399a37ae04021f9a42bbce7a996b7e4b9e95449
parent 3ca1ea16dd926198d016bb605940150a5139c3d9
Author: Frederic Cambus <fred@statdns.com>
Date:   Tue,  7 Feb 2017 13:48:32 +0100

Add fenced code blocks examples

Diffstat:
Mexamples/posts/hello-world.md | 17+++++++++++++++--
1 file changed, 15 insertions(+), 2 deletions(-)

diff --git a/examples/posts/hello-world.md b/examples/posts/hello-world.md @@ -1 +1,15 @@ -Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.- \ No newline at end of file +Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. + +Motyl supports fenced code blocks: + +``` bash +\`\`\`i bash +#!/bin/sh +echo "Hello World!" +\`\`\` +``` + +``` bash +#!/bin/sh +echo "Hello World!" +```