Skip to content

Commit

Permalink
fixing protocol.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ducasse committed Oct 28, 2024
1 parent 397cbf4 commit aa249ef
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions src/Microdown/MicAnnotatedParagraphBlock.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -42,20 +42,20 @@ MicAnnotatedParagraphBlock >> closeMe [
body := self inlineParse: body
]

{ #category : 'testing' }
{ #category : 'accessing' }
MicAnnotatedParagraphBlock >> defaultLabel [

^ #note
]

{ #category : 'testing' }
{ #category : 'initialization' }
MicAnnotatedParagraphBlock >> initialize [

super initialize.
validLabels := { #note. #important. #todo }
]

{ #category : 'testing' }
{ #category : 'accessing' }
MicAnnotatedParagraphBlock >> lineMarkup [

^ AnnotatedParagraphOpeningMarkup
Expand Down
8 changes: 4 additions & 4 deletions src/Microdown/MicEnvironmentBlock.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -119,19 +119,19 @@ MicEnvironmentBlock >> arguments [
^ arguments
]
{ #category : 'parse support' }
{ #category : 'accessing' }
MicEnvironmentBlock >> body [
^ String streamContents: [:s | self bodyElements do: [ :each | s nextPutAll: each substring ] ]
]
{ #category : 'parse support' }
{ #category : 'accessing' }
MicEnvironmentBlock >> bodyElements [
^ children
]
{ #category : 'parse support' }
{ #category : 'accessing' }
MicEnvironmentBlock >> bodyFromLine: line [
| newBlock |
Expand Down Expand Up @@ -176,7 +176,7 @@ MicEnvironmentBlock >> extractFirstLineFrom: aLine [
ifFalse: [ firstLine ]
]

{ #category : 'parse support' }
{ #category : 'initialization' }
MicEnvironmentBlock >> initialize [

super initialize.
Expand Down

0 comments on commit aa249ef

Please sign in to comment.