Minor sync, before adding preliminar Pandoc

exportation support.
This commit is contained in:
Offray Vladimir Luna Cárdenas 2017-02-19 21:56:43 +00:00 committed by SantiagoBragagnolo
parent 8adf456f0b
commit 5e7d80c5dc
1 changed files with 3 additions and 4 deletions

View File

@ -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 ])