diff --git a/src/MiniDocs/LePharoSnippet.extension.st b/src/MiniDocs/LePharoSnippet.extension.st index 1528710..f11904d 100644 --- a/src/MiniDocs/LePharoSnippet.extension.st +++ b/src/MiniDocs/LePharoSnippet.extension.st @@ -14,6 +14,12 @@ LePharoSnippet >> fromMarkdeep: markdeepDiv [ ^ markdeepDiv asSnippetDictionary asLepiterSnippet ] +{ #category : #'*MiniDocs' } +LePharoSnippet >> fromString: aString [ + +self code: aString +] + { #category : #'*MiniDocs' } LePharoSnippet >> markdeepCustomCloser [ ^ String streamContents: [ :stream | diff --git a/src/MiniDocs/LeTextSnippet.extension.st b/src/MiniDocs/LeTextSnippet.extension.st index f79b51e..02e62ab 100644 --- a/src/MiniDocs/LeTextSnippet.extension.st +++ b/src/MiniDocs/LeTextSnippet.extension.st @@ -19,6 +19,12 @@ LeTextSnippet >> fromMarkdeep: markdeepDiv [ ^ markdeepDiv asSnippetDictionary asLepiterSnippet ] +{ #category : #'*MiniDocs' } +LeTextSnippet >> fromString: aString [ + +self string: aString +] + { #category : #'*MiniDocs' } LeTextSnippet >> metadata [