Sha256: 4361f5b630f5ee203aef830f8f36bd9708fa2e289d8b26a15c3623e7f4e9aeb3
Contents?: true
Size: 680 Bytes
Versions: 16
Compression:
Stored size: 680 Bytes
Contents
module MarkdownTags include Radiant::Taggable desc %{ Filters its contents with the Markdown filter. *Usage*: <pre><code><r:markdown>** bold text **</r:markdown></code></pre> produces: <pre><code><strong> bold text </strong></code></pre> } tag 'markdown' do |tag| MarkdownFilter.filter(tag.expand) end desc %{ Filters its contents with the SmartyPants filter. *Usage*: <pre><code><r:smarty_pants>"A revolutionary quotation."</r:smarty_pants></code></pre> produces: <pre><code>“A revolutionary quotation.”</code></pre> } tag 'smarty_pants' do |tag| SmartyPantsFilter.filter(tag.expand) end end
Version data entries
16 entries across 16 versions & 3 rubygems