Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Commit

Permalink
fix to use latex version of microdown.
Browse files Browse the repository at this point in the history
Now releasing MD dev -> master and the same for this.
  • Loading branch information
Ducasse committed Sep 18, 2021
1 parent c098a34 commit 63edcb4
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions src/NewTools-DocumentationReader/StHelpBrowserPresenter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ StHelpBrowserPresenter >> createTopicsFromFile: aFileOrFolder [

| visitor |
visitor := self helpTopicVisitor new.
visitor visit: (self parserClass new parseFile: aFileOrFolder).
visitor visit: (Microdown new resolvedTreeFromFile: aFileOrFolder).
^ visitor helpTopics subtopics
]

Expand Down Expand Up @@ -343,19 +343,6 @@ StHelpBrowserPresenter >> render [
textOutput morph setText: (self morphWriter start: document)
]

{ #category : #internals }
StHelpBrowserPresenter >> render: aString [

| document text |
text := aString
ifNil: [ self dummyHelp ]
ifNotNil: [ aString ].
document := [ self parserClass parse: text ]
on: MicParsingError
do: [ :ex | textOutput morph setText: text. ^ self ].
textOutput morph setText: (self morphWriter start: document)
]

{ #category : #internals }
StHelpBrowserPresenter >> renderNode: aNode [

Expand Down

0 comments on commit 63edcb4

Please sign in to comment.