Class: ProsemirrorToHtml::Marks::Code
- Inherits:
-
Mark
- Object
- Mark
- ProsemirrorToHtml::Marks::Code
show all
- Defined in:
- lib/prosemirror_to_html/marks/code.rb
Instance Attribute Summary
Attributes inherited from Mark
#type
Instance Method Summary
collapse
Methods inherited from Mark
#initialize
Instance Method Details
#matching ⇒ Object
5
6
7
|
# File 'lib/prosemirror_to_html/marks/code.rb', line 5
def matching
@node.type === 'code'
end
|
#tag ⇒ Object
9
10
11
|
# File 'lib/prosemirror_to_html/marks/code.rb', line 9
def tag
'code'
end
|