Module: Card::Set::Type::Markdown::HtmlFormat
- Extended by:
- AbstractFormat
- Defined in:
- platypus/tmp/set/gem-defaults/mod006-markdown/type/markdown.rb
Instance Method Summary collapse
Instance Method Details
#ace_mode ⇒ Object
25 26 27 |
# File 'platypus/tmp/set/gem-defaults/mod006-markdown/type/markdown.rb', line 25 def ace_mode :markdown end |
#escape_literal(literal) ⇒ Object
17 18 19 |
# File 'platypus/tmp/set/gem-defaults/mod006-markdown/type/markdown.rb', line 17 def escape_literal literal literal end |
#input_type ⇒ Object
21 22 23 |
# File 'platypus/tmp/set/gem-defaults/mod006-markdown/type/markdown.rb', line 21 def input_type :ace_editor end |
#view: core ⇒ Object
11 12 13 14 15 |
# File 'platypus/tmp/set/gem-defaults/mod006-markdown/type/markdown.rb', line 11 view :core do safe_process_content do |content| Kramdown::Document.new(content).to_html end end |