Sha256: 47f17202c709b9550197f20885b127dfb609ac43953cde692ab116b593b4321d

Contents?: true

Size: 259 Bytes

Versions: 7

Compression:

Stored size: 259 Bytes

Contents

module NotionOrbit
  module NotionObjects
    module BlockTypes
      class NumberedListItem < Block
        def to_markdown
          '1. ' + super
        end

        def indent_children?
          true
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
notion_orbit-0.0.7 lib/notion_orbit/notion_objects/block_types/numbered_list_item.rb
notion_orbit-0.0.6 lib/notion_orbit/notion_objects/block_types/numbered_list_item.rb
notion_orbit-0.0.5 lib/notion_orbit/notion_objects/block_types/numbered_list_item.rb
notion_orbit-0.0.4 lib/notion_orbit/notion_objects/block_types/numbered_list_item.rb
notion_orbit-0.0.3 lib/notion_orbit/notion_objects/block_types/numbered_list_item.rb
notion_orbit-0.0.2 lib/notion_orbit/notion_objects/block_types/numbered_list_item.rb
notion_orbit-0.0.1 lib/notion_orbit/notion_objects/block_types/numbered_list_item.rb