Add Lepiter snippets for Carp
This commit is contained in:
13
src/Carp/LeRoamJSONExportVisitor.extension.st
Normal file
13
src/Carp/LeRoamJSONExportVisitor.extension.st
Normal file
@@ -0,0 +1,13 @@
|
||||
Extension { #name : #LeRoamJSONExportVisitor }
|
||||
|
||||
{ #category : #'*Carp' }
|
||||
LeRoamJSONExportVisitor >> visitCarpSnippet: aSnippet [
|
||||
|
||||
^ String streamContents: [ :aStream |
|
||||
aStream
|
||||
<< '```javascript';
|
||||
cr;
|
||||
<< aSnippet code;
|
||||
cr;
|
||||
<< '```' ]
|
||||
]
|
Reference in New Issue
Block a user