2022-01-22 15:23:56 +00:00
|
|
|
Extension { #name : #LePage }
|
|
|
|
|
|
|
|
{ #category : #'*Grafoscopio-Utils-Core' }
|
|
|
|
LePage >> asMarkdeepInto: aFileLocator [
|
|
|
|
|
|
|
|
self preorderTraversal
|
|
|
|
]
|
2022-01-24 01:38:07 +00:00
|
|
|
|
2022-02-02 23:35:39 +00:00
|
|
|
{ #category : #'*Grafoscopio-Utils-Core' }
|
|
|
|
LePage >> populateChildrenFrom: docTreeDivs [
|
2022-02-05 23:33:56 +00:00
|
|
|
docTreeDivs doWithIndex: [:div :i | | snippetTemp parent "surrogate" |
|
2022-02-05 23:20:48 +00:00
|
|
|
snippetTemp := LeSnippet fromMetaMarkdeep:div.
|
2022-02-05 23:33:56 +00:00
|
|
|
parent := self detectParentSnippetWithUid: (snippetTemp metadata at: 'parent').
|
|
|
|
parent snippetBuilder snippet: snippetTemp; add.
|
2022-02-02 23:35:39 +00:00
|
|
|
]
|
|
|
|
]
|