mirror of
https://github.com/moparisthebest/android.moparisthebest.org
synced 2024-11-16 06:05:00 -05:00
fixed stupid mistake with find-and-replace
This commit is contained in:
parent
0fcbc225e4
commit
e686f8544e
@ -1,6 +1,6 @@
|
|||||||
# Title: Simple Code Blocks for Jekyll
|
# Title: Simple Code Blocks for Jekyll
|
||||||
# Author: Brandon Mathis http://brandonmathis.com
|
# Author: Brandon Mathis http://brandonmathis.com
|
||||||
# Description: Write codeblocks with semantic HTML5 <figure> and <figtitle> 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:
|
# Syntax:
|
||||||
# {% codeblock [title] [url] [link text] %}
|
# {% codeblock [title] [url] [link text] %}
|
||||||
@ -25,7 +25,7 @@
|
|||||||
# Output:
|
# Output:
|
||||||
#
|
#
|
||||||
# <figure class='code'>
|
# <figure class='code'>
|
||||||
# <figtitle><span>Got pain? painrelief.sh</span> <a href="http://site.com/painrelief.sh">Download it!</a>
|
# <figcaption><span>Got pain? painrelief.sh</span> <a href="http://site.com/painrelief.sh">Download it!</a>
|
||||||
# <div class="highlight"><pre><code class="sh">
|
# <div class="highlight"><pre><code class="sh">
|
||||||
# -- nicely escaped highlighted code --
|
# -- nicely escaped highlighted code --
|
||||||
# </code></pre></div>
|
# </code></pre></div>
|
||||||
|
@ -10,14 +10,14 @@
|
|||||||
#
|
#
|
||||||
# This will import test.js from source/downloads/code/javascripts/test.js
|
# This will import test.js from source/downloads/code/javascripts/test.js
|
||||||
# and output the contents in a syntax highlighted code block inside a figure,
|
# and output the contents in a syntax highlighted code block inside a figure,
|
||||||
# with a figtitle listing the file name and download link
|
# with a figcaption listing the file name and download link
|
||||||
#
|
#
|
||||||
# Example 2:
|
# Example 2:
|
||||||
# You can also include an optional title for the <figtitle>
|
# You can also include an optional title for the <figcaption>
|
||||||
#
|
#
|
||||||
# {% include_code javascripts/test.js Example 2 %}
|
# {% include_code javascripts/test.js Example 2 %}
|
||||||
#
|
#
|
||||||
# will output a figtitle with the title: Example 2 (test.js)
|
# will output a figcaption with the title: Example 2 (test.js)
|
||||||
#
|
#
|
||||||
|
|
||||||
require './plugins/pygments_code'
|
require './plugins/pygments_code'
|
||||||
|
Loading…
Reference in New Issue
Block a user