| 1234567891011121314151617 |
- module Docs
- class Markdown < UrlScraper
- self.name = 'Markdown'
- self.type = 'markdown'
- self.base_url = 'http://daringfireball.net/projects/markdown/syntax'
- html_filters.push 'markdown/clean_html', 'markdown/entries'
- options[:container] = '.article'
- options[:skip_links] = true
- options[:attribution] = <<-HTML
- © 2004 John Gruber<br>
- Licensed under the BSD License.
- HTML
- end
- end
|