StéphaneDucasse

Results 622 issues of StéphaneDucasse

``` preload: loader package: packageSpec self halt. #( 'Microdown' ) do: [ :name | (IceRepository repositoryNamed: name) ifNil: [ self inform: 'Project not found: ' , name ] ifNotNil: [...

I have the impression that ``` replaceCurrentNodeBy: newNodes "When we do a transformation I replace the current node by its transformation." replacement pop. replacement push: newNodes ``` should be written...

exercises

For example ``` testReplaceNodeByAnotherNode | root | root := Microdown parse: 'this is a paragraph'. self assert: root children first class equals: MicParagraphBlock. transformer visit: root. self assert: root children...

PillarToMic converter should handle path the same way. There was not difference between `file://figures/Foo.png` and and `figure/Foo.png` ``` +Two messages: ==Color yellow== and ==aMorph color: Color yellow==.>/figures/uKeyUnOne.png|label=fig:ellipse|width=50+ ``` ``` +Two...

``` [[[example=true|caption=Sending ==factorial== to ==20== yields a large number. 20 factorial >>> 2432902008176640000 ]]] ``` produces the following ``` ```example=true&caption=Sending ==factorial== to ==20== yields a large number. 20 factorial >>>...

``` ast := Microdown parseFile: '/Users/ducasse/Workspace/FirstCircle/MyBooks/Bk-Writing/PharoBooks2/BuildingApplicationWithSpec2/index.md' asFileReference. Microdown resolveDocument: ast withBase: '/Users/ducasse/Workspace/FirstCircle/MyBooks/Bk-Writing/PharoBooks2/BuildingApplicationWithSpec2/index.md' asFileReference asMicResourceReference. inclusionVisitor := MicFileIncluder new. inclusionVisitor topFile: '/Users/ducasse/Workspace/FirstCircle/MyBooks/Bk-Writing/PharoBooks2/BuildingApplicationWithSpec2/index.md' asFileReference. inclusionVisitor visit: ast. vis := MicSBALaTeXWriter new. vis...

Support for table of contents so that we can generate HTML for books.

exercises

So far MicCodeBlockValitorTest only test that the visitor is working. ``` parseAndTest: docText | doc bTester | doc := Microdown parse: docText. bTester := MicCodeBlockValidator new. bTester start: doc. ^...

exercises

During the massive cleanup of Pillar I kept the PRTemplatedWriter as a reference because while we never put it in production it was clearly the way to go. Here are...

``` git merge v2.9.2 [19:50:38] Auto-merging src/BaselineOfMicrodown/BaselineOfMicrodown.class.st Auto-merging src/Microdown-Blog-Tests/MicBridge.class.st CONFLICT (content): Merge conflict in src/Microdown-Blog-Tests/MicBridge.class.st Automatic merge failed; fix conflicts and then commit the result. ``` I do not really...