Skip to content

Commit

Permalink
better layout for code block
Browse files Browse the repository at this point in the history
  • Loading branch information
Ducasse committed Jul 1, 2020
1 parent b23fbe7 commit 92b0774
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Pillar-ExporterRichText/PRRichTextComposer.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,7 @@ PRRichTextComposer >> visitCitationAnnotation: aCitation [
{ #category : #'visiting - document' }
PRRichTextComposer >> visitCodeblock: aCodeBlock [
canvas newLineIfNotAlready.
canvas newLine.
canvas
indentIn: [
canvas
Expand All @@ -479,7 +480,7 @@ PRRichTextComposer >> visitCodeblock: aCodeBlock [
asLanguage: aCodeBlock language originalName)
] ].
canvas newLine.
canvas newLine

]

{ #category : #'visiting - unsupported' }
Expand Down

0 comments on commit 92b0774

Please sign in to comment.