From 0843c02f4ea3a2cd8a6e95bdc08cda5e11eea193 Mon Sep 17 00:00:00 2001 From: Brandon Mathis Date: Wed, 20 Jul 2011 12:11:52 -0400 Subject: improved documentation on codeblock plugin --- plugins/code_block.rb | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'plugins/code_block.rb') diff --git a/plugins/code_block.rb b/plugins/code_block.rb index 8c308f21..4264d197 100644 --- a/plugins/code_block.rb +++ b/plugins/code_block.rb @@ -2,11 +2,19 @@ # Author: Brandon Mathis http://brandonmathis.com # Description: Write codeblocks with semantic HTML5
and
elements and optional syntax highlighting — all with a simple, intuitive interface. # -# Syntax: {% codeblock [title] [url] [link text] %} +# Syntax: +# {% codeblock [title] [url] [link text] %} +# code snippet +# {% endcodeblock %} # # For syntax highlighting, put a file extension somewhere in the title. examples: # {% codeblock file.sh %} +# code snippet +# {% endcodeblock %} +# # {% codeblock Time to be Awesome! (awesome.rb) %} +# code snippet +# {% endcodeblock %} # # Example: # -- cgit v1.2.1