mirror of
https://github.com/moparisthebest/www.moparscape.org
synced 2024-11-13 12:55:08 -05:00
improved documentation on codeblock plugin
This commit is contained in:
parent
c030550917
commit
0843c02f4e
@ -2,11 +2,19 @@
|
|||||||
# Author: Brandon Mathis http://brandonmathis.com
|
# Author: Brandon Mathis http://brandonmathis.com
|
||||||
# Description: Write codeblocks with semantic HTML5 <figure> and <figcaption> elements and optional syntax highlighting — all with a simple, intuitive interface.
|
# Description: Write codeblocks with semantic HTML5 <figure> and <figcaption> 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:
|
# For syntax highlighting, put a file extension somewhere in the title. examples:
|
||||||
# {% codeblock file.sh %}
|
# {% codeblock file.sh %}
|
||||||
|
# code snippet
|
||||||
|
# {% endcodeblock %}
|
||||||
|
#
|
||||||
# {% codeblock Time to be Awesome! (awesome.rb) %}
|
# {% codeblock Time to be Awesome! (awesome.rb) %}
|
||||||
|
# code snippet
|
||||||
|
# {% endcodeblock %}
|
||||||
#
|
#
|
||||||
# Example:
|
# Example:
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user