From 491b7d4de93871755b28f5968a78491740ac9aa8 Mon Sep 17 00:00:00 2001 From: Offray Luna Date: Sun, 19 Feb 2017 21:56:43 +0000 Subject: [PATCH] Minor sync, before adding preliminar Pandoc exportation support. --- repository/Grafoscopio/GrafoscopioNode.class.st | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/repository/Grafoscopio/GrafoscopioNode.class.st b/repository/Grafoscopio/GrafoscopioNode.class.st index 297551d..bb3cc37 100644 --- a/repository/Grafoscopio/GrafoscopioNode.class.st +++ b/repository/Grafoscopio/GrafoscopioNode.class.st @@ -352,9 +352,8 @@ GrafoscopioNode >> embedAll [ GrafoscopioNode >> embedNodes [ "I find any ocurrence of '%embed a node header' in the body of a node and replace it by the children which have such header. - Using embedded node is useful to change the order in which children appear into parents body, + Using embedded nodes is useful to change the order in which children appear into parents body, while exporting" - | temporalBody | temporalBody := self body. self embeddedNodes ifNotNil: [ self embeddedNodes do: [ :each | @@ -611,9 +610,9 @@ GrafoscopioNode >> markdownContent [ (self hasAncestorHeaderWith: '%invisible') not ifTrue: [ self headerAsMarkdownInto: markdownStream. - self bodyAsMarkdownInto: markdownStream]. + self bodyAsMarkdownInto: markdownStream ]. (self headerStartsWith: '%idea') - ifTrue: [self bodyAsMarkdownInto: markdownStream]. + ifTrue: [ self bodyAsMarkdownInto: markdownStream ]. (self headerStartsWith: '%footnote') ifTrue: [ self footnoteAsMarkdownInto: markdownStream ]. ((self tags = 'código') and: [(self hasAncestorHeaderWith: '%invisible') not & (self headerStartsWith: '%embed') not ])