Skip to content

Commit 0843c02

Browse files
committed
improved documentation on codeblock plugin
1 parent c030550 commit 0843c02

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

plugins/code_block.rb

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,19 @@
22
# Author: Brandon Mathis http://brandonmathis.com
33
# Description: Write codeblocks with semantic HTML5 <figure> and <figcaption> elements and optional syntax highlighting — all with a simple, intuitive interface.
44
#
5-
# Syntax: {% codeblock [title] [url] [link text] %}
5+
# Syntax:
6+
# {% codeblock [title] [url] [link text] %}
7+
# code snippet
8+
# {% endcodeblock %}
69
#
710
# For syntax highlighting, put a file extension somewhere in the title. examples:
811
# {% codeblock file.sh %}
12+
# code snippet
13+
# {% endcodeblock %}
14+
#
915
# {% codeblock Time to be Awesome! (awesome.rb) %}
16+
# code snippet
17+
# {% endcodeblock %}
1018
#
1119
# Example:
1220
#

0 commit comments

Comments
 (0)