website/content/tips_and_tricks.txt in webby-0.4.0 vs website/content/tips_and_tricks.txt in webby-0.5.0
- old
+ new
@@ -9,11 +9,11 @@
* "CodeRay":#toc_cr
</div>
-h3(#toc_cr){clear:none}. CodeRay
+h2(#toc_cr){clear:none}. CodeRay
To include "CodeRay":http://coderay.rubychan.de/ syntax highlighting support in a page you need to have the @coderay@ gem installed, and you need to include the CodeRay stylesheet in your layout. The following example shows a page that uses CodeRay syntax highlighting combined with Textile markup.
Note how the @coderay@ block is enclosed by a @notextile@ block. This ensures that the Textile filter does not clobber the generated syntax highlighting.
@@ -23,10 +23,10 @@
filter:
- erb
- coderay
- textile
---
-h3. <%= h(@page.title) %>
+h2. <%= h(@page.title) %>
This is the @render_page@ function from the Webby static website generation
system. It is used to render a page by applying the specified filters in
succession to the page contents.