header -- { type: 'inlineContainer', children: [ { type: 'text', children: [], value: 'des choses', previousSibling: null, parent: [Circular *1] } ], previousSibling: null, parent: { type: 'header', children: [ [Circular *1] ], level: 1, fromLineNumber: 1, previousSibling: null } } -- { type: 'text', children: [], value: 'des choses', previousSibling: null, parent: { type: 'inlineContainer', children: [ [Circular *1] ], previousSibling: null, parent: { type: 'header', children: [Array], level: 1, fromLineNumber: 1, previousSibling: null } } } -- des choses header -- { type: 'inlineContainer', children: [ { type: 'text', children: [], value: 'TODO faire un truc', previousSibling: null, parent: [Circular *1] } ], previousSibling: null, parent: { type: 'header', children: [ [Circular *1] ], level: 2, fromLineNumber: 2, previousSibling: { type: 'header', children: [Array], level: 1, fromLineNumber: 1, previousSibling: null } } } -- { type: 'text', children: [], value: 'TODO faire un truc', previousSibling: null, parent: { type: 'inlineContainer', children: [ [Circular *1] ], previousSibling: null, parent: { type: 'header', children: [Array], level: 2, fromLineNumber: 2, previousSibling: [Object] } } } -- TODO faire un truc header -- { type: 'inlineContainer', children: [ { type: 'text', children: [], value: 'TODO faire un autre truc :autre:', previousSibling: null, parent: [Circular *1] } ], previousSibling: null, parent: { type: 'header', children: [ [Circular *1] ], level: 2, fromLineNumber: 5, previousSibling: { type: 'inlineContainer', children: [Array], previousSibling: [Object] } } } -- { type: 'text', children: [], value: 'TODO faire un autre truc :autre:', previousSibling: null, parent: { type: 'inlineContainer', children: [ [Circular *1] ], previousSibling: null, parent: { type: 'header', children: [Array], level: 2, fromLineNumber: 5, previousSibling: [Object] } } } -- TODO faire un autre truc :autre: header -- { type: 'inlineContainer', children: [ { type: 'text', children: [], value: 'SOMEDAY avoir une idée :idea:', previousSibling: null, parent: [Circular *1] } ], previousSibling: null, parent: { type: 'header', children: [ [Circular *1] ], level: 3, fromLineNumber: 11, previousSibling: { type: 'inlineContainer', children: [Array], previousSibling: [Object] } } } -- { type: 'text', children: [], value: 'SOMEDAY avoir une idée :idea:', previousSibling: null, parent: { type: 'inlineContainer', children: [ [Circular *1] ], previousSibling: null, parent: { type: 'header', children: [Array], level: 3, fromLineNumber: 11, previousSibling: [Object] } } } -- SOMEDAY avoir une idée :idea: header -- { type: 'inlineContainer', children: [ { type: 'text', children: [], value: 'CANCELLED envoyer un justificatif médical :ARCHIVE:', previousSibling: null, parent: [Circular *1] } ], previousSibling: null, parent: { type: 'header', children: [ [Circular *1] ], level: 4, fromLineNumber: 12, previousSibling: { type: 'header', children: [Array], level: 3, fromLineNumber: 11, previousSibling: [Object] } } } -- { type: 'text', children: [], value: 'CANCELLED envoyer un justificatif médical :ARCHIVE:', previousSibling: null, parent: { type: 'inlineContainer', children: [ [Circular *1] ], previousSibling: null, parent: { type: 'header', children: [Array], level: 4, fromLineNumber: 12, previousSibling: [Object] } } } -- CANCELLED envoyer un justificatif médical :ARCHIVE: headerTexts [ 'des choses', 'TODO faire un truc', 'TODO faire un autre truc :autre:', 'SOMEDAY avoir une idée :idea:', 'CANCELLED envoyer un justificatif médical :ARCHIVE:' ] le fichier input.org a ce nombre de type de tâches SOMEDAY: 1 TODO: 2 NEXT: undefined CANCELLED: 1 DONE: undefined