Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/Microdown/MicAbstractBlock.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,11 @@ MicAbstractBlock >> initialize [
children := OrderedCollection new.
]

{ #category : 'testing' }
MicAbstractBlock >> isHeader [
^ false
]

{ #category : 'testing' }
MicAbstractBlock >> listItemBlockClass [
^ MicListItemBlock
Expand Down
5 changes: 5 additions & 0 deletions src/Microdown/MicHeaderBlock.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,11 @@ MicHeaderBlock >> headerElements: aCollection [

]

{ #category : 'testing' }
MicHeaderBlock >> isHeader [
^ true
]

{ #category : 'accessing' }
MicHeaderBlock >> level [
^ level
Expand Down
6 changes: 0 additions & 6 deletions src/Microdown/SequenceableCollection.extension.st
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,3 @@ SequenceableCollection >> splitOnFirst: anObject noneValue: aValue [
^ { self copyFrom: 1 to: element -1 . self copyFrom: element + 1 to: self size }

]

{ #category : '*Microdown' }
SequenceableCollection >> trimBoth [

^ self
]