Class: Coradoc::Input::Html::Converters::Code
- Inherits:
-
Markup
- Object
- Base
- Markup
- Coradoc::Input::Html::Converters::Code
show all
- Defined in:
- lib/coradoc/input/html/converters/code.rb
Instance Method Summary
collapse
Methods inherited from Markup
#to_coradoc
Methods inherited from Base
#convert, #extract_leading_trailing_whitespace, #extract_title, #node_has_ancestor?, #textnode_after_start_with?, #textnode_before_end_with?, #treat, #treat_children, #treat_children_coradoc, #treat_coradoc, #unconstrained_after?, #unconstrained_before?
Instance Method Details
#coradoc_class ⇒ Object
6
7
8
|
# File 'lib/coradoc/input/html/converters/code.rb', line 6
def coradoc_class
Coradoc::Element::Inline::Monospace
end
|
#markup_ancestor_tag_names ⇒ Object
10
11
12
|
# File 'lib/coradoc/input/html/converters/code.rb', line 10
def markup_ancestor_tag_names
%w[code tt kbd samp var]
end
|