Class: Kramdown::Converter::Kramdown
- Inherits:
-
Object
- Object
- Kramdown::Converter::Kramdown
- Defined in:
- lib/kramdown-gist/converter.rb
Instance Method Summary collapse
-
#convert_gist(el, opts) ⇒ String
private
Convert a gist element into the equivalent Kramdown "tag".
Instance Method Details
#convert_gist(el, opts) ⇒ String
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Convert a gist element into the equivalent Kramdown "tag"
40 41 42 |
# File 'lib/kramdown-gist/converter.rb', line 40 def convert_gist(el, opts) "*{gist:#{el.value}}\n" end |