diff --git a/features/markdown.feature b/features/markdown.feature index a3803233..c76b0611 100644 --- a/features/markdown.feature +++ b/features/markdown.feature @@ -28,3 +28,40 @@ Feature: Markdown And I should see "Index" in "_site/index.html" And I should see "
\nMy awesome code\n
" in "_site/index.html"
+
+ Scenario: Maruku fenced codeblocks
+ Given I have a configuration file with "markdown" set to "maruku"
+ And I have an "index.markdown" file with content:
+ """
+ ---
+ title: My title
+ ---
+
+ # My title
+
+ ```ruby
+ puts "My awesome string"
+ ```
+ """
+ When I run jekyll
+ Then the _site directory should exist
+ And I should see "My awesome string" in "_site/index.html"
+ And I should see "\nputs "My awesome string"\n
" in "_site/index.html"