diff --git a/src/MiniDocs/Markdeep.class.st b/src/MiniDocs/Markdeep.class.st index 6055494..6a667ab 100644 --- a/src/MiniDocs/Markdeep.class.st +++ b/src/MiniDocs/Markdeep.class.st @@ -88,7 +88,7 @@ Markdeep >> commentsSupport [ { #category : #accessing } Markdeep >> config [ - ^ config + ^ config ifNil: [ config := Dictionary new] ] { #category : #accessing } @@ -100,6 +100,7 @@ Markdeep >> config: aDictionary [ { #category : #'instance creation' } Markdeep >> contents [ | output | + self title ifNil: [ ^ self body ]. output := '' writeStream. output nextPutAll: self headContents; lf; lf;