Skip to content

Commit

Permalink
Merge 30842a2
Browse files Browse the repository at this point in the history
  • Loading branch information
Ducasse committed Mar 13, 2024
2 parents 0fa8e29 + 30842a2 commit 65248a6
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 14 deletions.
12 changes: 6 additions & 6 deletions src/Microdown-HTMLExporter/MicHTMLDocument.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -346,12 +346,12 @@ MicHTMLDocument >> setCharSetUTF8 [
MicHTMLDocument >> tempFileName [
"Answer a <String> representing a random file in a temporary location in the receiver's file system"

^ String streamContents: [ : str |
str
<< FileLocator temp fullName;
<< DiskStore delimiter asString;
<< UUIDGenerator new next asString36;
<< '.html' ]
^ String streamContents: [ :str |
str
<< FileLocator temp fullName;
<< DiskStore delimiter asString;
<< UUID new asString36;
<< '.html' ]
]

{ #category : 'accessing' }
Expand Down
6 changes: 3 additions & 3 deletions src/Microdown-HTMLExporter/Microdown.extension.st
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Extension { #name : 'Microdown' }

{ #category : '*Microdown-HTMLExporter' }
Microdown class >> asHTMLDocument: aStringOrDoc [
Microdown classSide >> asHTMLDocument: aStringOrDoc [
"Facade method to serialize a Microdown document or string to HTML"

^ MicHTMLVisitor serializeToHTMLDoc: aStringOrDoc.
Expand All @@ -10,7 +10,7 @@ Microdown class >> asHTMLDocument: aStringOrDoc [
]

{ #category : '*Microdown-HTMLExporter' }
Microdown class >> asHTMLString: aStringOrDoc [
Microdown classSide >> asHTMLString: aStringOrDoc [
"Facade method to render a microdown document or string to HTML"

^ MicHTMLVisitor asHTMLString: aStringOrDoc.
Expand All @@ -19,7 +19,7 @@ Microdown class >> asHTMLString: aStringOrDoc [
]

{ #category : '*Microdown-HTMLExporter' }
Microdown class >> asHTMLString: aStringOrDoc configuration: aMicHTMLConfiguration [
Microdown classSide >> asHTMLString: aStringOrDoc configuration: aMicHTMLConfiguration [
"Facade method to render a microdown document or string to HTML"

^ MicHTMLVisitor asHTMLString: aStringOrDoc configuration: aMicHTMLConfiguration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ MicRichTextComposerTest >> setUp [
parser := Microdown new.
offlineStatus := Microdown offline.
Microdown offline: false.
MicRichTextComposer initialize.
]

{ #category : 'skipped tests' }
Expand Down Expand Up @@ -649,7 +648,7 @@ MicRichTextComposerTest >> testStrikethroughFormat [
MicRichTextComposerTest >> testStylerForMethod [

| code source richText blueLocation textColor |
self composerClass initialize.

code := '
codeStylerFor: aString
<codeblockStylerFor: #smalltalk>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Extension { #name : 'MicrodownParser' }

{ #category : '*Microdown-RichTextComposer' }
MicrodownParser class >> convertToRichText: aString [
MicrodownParser classSide >> convertToRichText: aString [
^ MicRichTextComposer new visit: (self new parse: aString)
]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Extension { #name : 'RPackage' }
Extension { #name : 'Package' }

{ #category : '*Microdown' }
RPackage >> buildMicroDownUsing: aBuilder withComment: aString [
Package >> buildMicroDownUsing: aBuilder withComment: aString [

"I'm on a package and the package is a baseline package."
self class environment
Expand Down

0 comments on commit 65248a6

Please sign in to comment.