diff --git a/repository/Grafoscopio/GrafoscopioNode.class.st b/repository/Grafoscopio/GrafoscopioNode.class.st index 0d1cdf5..d26a822 100644 --- a/repository/Grafoscopio/GrafoscopioNode.class.st +++ b/repository/Grafoscopio/GrafoscopioNode.class.st @@ -250,7 +250,7 @@ GrafoscopioNode >> level: anInteger [ GrafoscopioNode >> markdownContent [ "Extracts the markdown of a node using body as content, header as title and level as hierarchical level of the title. If special nodes types are present, converts them into proper markup to be embedded inside markdown" - | markdown configDict specialWords embedNodes temporalBody | + | markdown configDict specialWords embedNodes temporalBody invisibleChildren | markdown := '' writeStream. specialWords := #('%config' '%abstract' '%invisible' '%idea' '%footnote' 'nuevoNodo' '%embed'). (self level > 0) & (specialWords includes: self header) not & (specialWords includes: ((self header findTokens: $ ) at: 1)) not @@ -285,8 +285,10 @@ GrafoscopioNode >> markdownContent [ markdown nextPutAll: (self body contents withInternetLineEndings); lf; lf. ]. ((self header findString: '%embed') = 1) ifTrue: [ ]. - (self header = '%invisible') - ifTrue: [ ]. + ((self header findString: '%invisible') = 1) | (self header = '%invisible') + ifTrue: [ + invisibleChildren := self children. + invisibleChildren ifNotNil: [invisibleChildren do: [ ] ] ]. ^markdown contents ] diff --git a/repository/Grafoscopio/UbakyeBook.class.st b/repository/Grafoscopio/UbakyeBook.class.st deleted file mode 100644 index ea6a539..0000000 --- a/repository/Grafoscopio/UbakyeBook.class.st +++ /dev/null @@ -1,16 +0,0 @@ -" -An UbakyeBook is a booklet to compile all documentation needed -in the making of the Ubakye outliner and visual data narrative -environment. - -" -Class { - #name : #UbakyeBook, - #superclass : #CustomHelp, - #category : #'Grafoscopio-Help' -} - -{ #category : #'as yet unclassified' } -UbakyeBook >> bookName [ - ^'Visual Data Narratives with Pharo/Smalltalk' -]