Class: NotionOrbit::NotionObjects::BlockTypes::Paragraph

Inherits:
NotionOrbit::NotionObjects::Block show all
Defined in:
lib/notion_orbit/notion_objects/block_types/paragraph.rb

Instance Method Summary collapse

Methods inherited from NotionOrbit::NotionObjects::Block

#initialize, new_from_raw_block, #notion_service

Constructor Details

This class inherits a constructor from NotionOrbit::NotionObjects::Block

Instance Method Details

#indent_children?Boolean

Returns:

  • (Boolean)


9
10
11
# File 'lib/notion_orbit/notion_objects/block_types/paragraph.rb', line 9

def indent_children?
  false
end

#to_markdownObject



5
6
7
# File 'lib/notion_orbit/notion_objects/block_types/paragraph.rb', line 5

def to_markdown
  super + "\n"
end