Skip to content

Commit

Permalink
remove smarty_pants filter
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmuhl committed Jun 24, 2010
1 parent a8c4395 commit 9b108c1
Show file tree
Hide file tree
Showing 12 changed files with 2 additions and 972 deletions.
2 changes: 1 addition & 1 deletion vendor/extensions/markdown_filter/README
@@ -1 +1 @@
Adds support for Markdown and SmartyPants!
Adds support for Markdown!
15 changes: 0 additions & 15 deletions vendor/extensions/markdown_filter/lib/markdown_tags.rb
Expand Up @@ -15,19 +15,4 @@ module MarkdownTags
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>&#8220;A revolutionary quotation.&#8221;</code></pre>
}
tag 'smarty_pants' do |tag|
SmartyPantsFilter.filter(tag.expand)
end
end
7 changes: 0 additions & 7 deletions vendor/extensions/markdown_filter/lib/smarty_pants_filter.rb

This file was deleted.

11 changes: 1 addition & 10 deletions vendor/extensions/markdown_filter/markdown_filter_extension.rb
Expand Up @@ -6,22 +6,13 @@
require 'kramdown'
end

begin
require 'rubypants'
rescue LoadError
# If rubypants gem is not available, use packaged version
$LOAD_PATH.unshift "#{File.dirname(__FILE__)}/vendor/rubypants"
retry
end

class MarkdownFilterExtension < Radiant::Extension
version "1.0"
description "Allows you to compose page parts or snippets using the Markdown or SmartyPants text filters."
description "Allows you to compose page parts or snippets using the Markdown text filter."
url "http://daringfireball.net/projects/markdown/"

def activate
MarkdownFilter
SmartyPantsFilter
Page.send :include, MarkdownTags
end
end
47 changes: 0 additions & 47 deletions vendor/extensions/markdown_filter/smartypants.html

This file was deleted.

This file was deleted.

This file was deleted.

114 changes: 0 additions & 114 deletions vendor/extensions/markdown_filter/vendor/rubypants/README

This file was deleted.

84 changes: 0 additions & 84 deletions vendor/extensions/markdown_filter/vendor/rubypants/Rakefile

This file was deleted.

9 changes: 0 additions & 9 deletions vendor/extensions/markdown_filter/vendor/rubypants/install.rb

This file was deleted.

0 comments on commit 9b108c1

Please sign in to comment.