markdown/readme/include_usage.rb in markdown_helper-2.0.0 vs markdown/readme/include_usage.rb in markdown_helper-2.1.0
- old
+ new
@@ -1,11 +1,10 @@
require 'markdown_helper'
template_file_path = 'highlight_ruby_template.md'
markdown_file_path = 'highlighted_ruby.md'
-markdown_helper = MarkdownHelper.new
-markdown_helper.include(template_file_path, markdown_file_path)
# Pristine.
+markdown_helper = MarkdownHelper.new
markdown_helper.pristine = true
markdown_helper.include(template_file_path, markdown_file_path)
# Also pristine.
markdown_helper = MarkdownHelper.new(:pristine => true)
markdown_helper.include(template_file_path, markdown_file_path)