Sha256: a5cf83d127ff552ff1f2f592f18a68142f3b30239d7f126fb0f2bdb0349fd38a
Contents?: true
Size: 397 Bytes
Versions: 15
Compression:
Stored size: 397 Bytes
Contents
# encoding: utf-8 class Nanoc::Filters::KramdownTest < MiniTest::Unit::TestCase include Nanoc::TestHelpers def test_filter if_have 'kramdown' do # Create filter filter = ::Nanoc::Filters::Kramdown.new # Run filter result = filter.run("This is _so_ **cool**!") assert_equal("<p>This is <em>so</em> <strong>cool</strong>!</p>\n", result) end end end
Version data entries
15 entries across 15 versions & 1 rubygems