diff --git a/src/utils/markdown.rs b/src/utils/markdown.rs index fe08de3..78160db 100644 --- a/src/utils/markdown.rs +++ b/src/utils/markdown.rs @@ -351,25 +351,22 @@ pub fn read_md( /// Check whether mermaid diagrams are in the AST fn check_mermaid<'a>(root: &'a AstNode<'a>, mermaid_str: &str) -> bool { - root.children().any(|node| match &node.data.borrow().value { - // Check if code of block define a mermaid diagram - NodeValue::CodeBlock(code_block) => code_block.info == mermaid_str, - _ => false, - }) + root.descendants() + .any(|node| match &node.data.borrow().value { + // Check if code of block define a mermaid diagram + NodeValue::CodeBlock(code_block) => code_block.info == mermaid_str, + _ => false, + }) } /// Check if code is in the AST fn check_code<'a>(root: &'a AstNode<'a>, blacklist: &[String]) -> bool { - root.children().any(|node| match &node.data.borrow().value { - // Detect code in paragraph - /* NodeValue::Paragraph => match &node.children().next() { - Some(child) => matches!(child.data.borrow().value, NodeValue::Code(_)), - None => false, - }, */ - // Detect blocks of code where the lang isn't in the blacklist - NodeValue::CodeBlock(code_block) => !blacklist.contains(&code_block.info), - _ => false, - }) + root.descendants() + .any(|node| match &node.data.borrow().value { + // Detect blocks of code where the lang isn't in the blacklist + NodeValue::CodeBlock(code_block) => !blacklist.contains(&code_block.info), + _ => false, + }) } /// Check if html contains maths @@ -394,7 +391,7 @@ fn check_math(html: &str) -> bool { /// Change class of languages for hljs detection fn hljs_replace<'a>(root: &'a AstNode<'a>, mermaid_str: &str) { - root.children().for_each(|node| { + root.descendants().for_each(|node| { if let NodeValue::CodeBlock(ref mut block) = &mut node.data.borrow_mut().value { if block.info != mermaid_str { block.info = format!("hljs-{}", block.info); diff --git a/tmp.log b/tmp.log new file mode 100644 index 0000000..a5262f3 --- /dev/null +++ b/tmp.log @@ -0,0 +1,3547 @@ +Listening to http://127.0.0.1:8080 +Node { + data: RefCell { + value: Ast { + value: Heading( + NodeHeading { + level: 1, + setext: false, + }, + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 1, + column: 1, + }, + end: LineColumn { + line: 1, + column: 27, + }, + }, + internal_offset: 2, + content: "Écrire le cours ensemble", + open: false, + last_line_blank: true, + table_visited: false, + line_offsets: [ + 2, + ], + }, + }, + children: [ + Node { + data: RefCell { + value: Ast { + value: Text( + "Écrire le cours ensemble", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 1, + column: 3, + }, + end: LineColumn { + line: 1, + column: 27, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + ], +} +Node { + data: RefCell { + value: Ast { + value: Paragraph, + sourcepos: Sourcepos { + start: LineColumn { + line: 3, + column: 1, + }, + end: LineColumn { + line: 3, + column: 203, + }, + }, + internal_offset: 0, + content: "Si vous voulez écrire le cours avec moi, [envoyez moi un message](https://www.mylloon.fr/networks), on peut aller sur [CodiMD](https://codimd.math.cnrs.fr/) (connexion avec le compte de l'université) !\n", + open: false, + last_line_blank: true, + table_visited: false, + line_offsets: [ + 0, + ], + }, + }, + children: [ + Node { + data: RefCell { + value: Ast { + value: Text( + "Si vous voulez écrire le cours avec moi, ", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 3, + column: 1, + }, + end: LineColumn { + line: 3, + column: 42, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + Node { + data: RefCell { + value: Ast { + value: Link( + NodeLink { + url: "https://www.mylloon.fr/networks", + title: "", + }, + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 3, + column: 43, + }, + end: LineColumn { + line: 3, + column: 99, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [ + Node { + data: RefCell { + value: Ast { + value: Text( + "envoyez moi un message", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 3, + column: 44, + }, + end: LineColumn { + line: 3, + column: 65, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + ], + }, + Node { + data: RefCell { + value: Ast { + value: Text( + ", on peut aller sur ", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 3, + column: 100, + }, + end: LineColumn { + line: 3, + column: 119, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + Node { + data: RefCell { + value: Ast { + value: Link( + NodeLink { + url: "https://codimd.math.cnrs.fr/", + title: "", + }, + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 3, + column: 120, + }, + end: LineColumn { + line: 3, + column: 157, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [ + Node { + data: RefCell { + value: Ast { + value: Text( + "CodiMD", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 3, + column: 121, + }, + end: LineColumn { + line: 3, + column: 126, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + ], + }, + Node { + data: RefCell { + value: Ast { + value: Text( + " (connexion avec le compte de l’université) !", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 3, + column: 158, + }, + end: LineColumn { + line: 3, + column: 203, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + ], +} +Node { + data: RefCell { + value: Ast { + value: Heading( + NodeHeading { + level: 1, + setext: false, + }, + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 5, + column: 1, + }, + end: LineColumn { + line: 5, + column: 15, + }, + }, + internal_offset: 2, + content: "Configuration", + open: false, + last_line_blank: true, + table_visited: false, + line_offsets: [ + 2, + ], + }, + }, + children: [ + Node { + data: RefCell { + value: Ast { + value: Text( + "Configuration", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 5, + column: 3, + }, + end: LineColumn { + line: 5, + column: 15, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + ], +} +Node { + data: RefCell { + value: Ast { + value: Heading( + NodeHeading { + level: 2, + setext: false, + }, + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 7, + column: 1, + }, + end: LineColumn { + line: 7, + column: 11, + }, + }, + internal_offset: 3, + content: "En cours", + open: false, + last_line_blank: true, + table_visited: false, + line_offsets: [ + 3, + ], + }, + }, + children: [ + Node { + data: RefCell { + value: Ast { + value: Text( + "En cours", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 7, + column: 4, + }, + end: LineColumn { + line: 7, + column: 11, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + ], +} +Node { + data: RefCell { + value: Ast { + value: Paragraph, + sourcepos: Sourcepos { + start: LineColumn { + line: 9, + column: 1, + }, + end: LineColumn { + line: 9, + column: 95, + }, + }, + internal_offset: 0, + content: "J'utilises [Obsidian](https://obsidian.md/) pour la prise de notes en cours, avec ces plugins :\n", + open: false, + last_line_blank: true, + table_visited: false, + line_offsets: [ + 0, + ], + }, + }, + children: [ + Node { + data: RefCell { + value: Ast { + value: Text( + "J’utilises ", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 9, + column: 1, + }, + end: LineColumn { + line: 9, + column: 11, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + Node { + data: RefCell { + value: Ast { + value: Link( + NodeLink { + url: "https://obsidian.md/", + title: "", + }, + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 9, + column: 12, + }, + end: LineColumn { + line: 9, + column: 43, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [ + Node { + data: RefCell { + value: Ast { + value: Text( + "Obsidian", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 9, + column: 13, + }, + end: LineColumn { + line: 9, + column: 20, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + ], + }, + Node { + data: RefCell { + value: Ast { + value: Text( + " pour la prise de notes en cours, avec ces plugins :", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 9, + column: 44, + }, + end: LineColumn { + line: 9, + column: 95, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + ], +} +Node { + data: RefCell { + value: Ast { + value: List( + NodeList { + list_type: Bullet, + marker_offset: 0, + padding: 2, + start: 1, + delimiter: Period, + bullet_char: 45, + tight: true, + is_task_list: false, + }, + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 11, + column: 1, + }, + end: LineColumn { + line: 30, + column: 0, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [ + Node { + data: RefCell { + value: Ast { + value: Item( + NodeList { + list_type: Bullet, + marker_offset: 0, + padding: 2, + start: 1, + delimiter: Period, + bullet_char: 45, + tight: false, + is_task_list: false, + }, + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 11, + column: 1, + }, + end: LineColumn { + line: 11, + column: 106, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [ + Node { + data: RefCell { + value: Ast { + value: Paragraph, + sourcepos: Sourcepos { + start: LineColumn { + line: 11, + column: 3, + }, + end: LineColumn { + line: 11, + column: 106, + }, + }, + internal_offset: 0, + content: "[Advanced Tables](https://github.com/tgrosinger/advanced-tables-obsidian) pour le formatage des tableaux\n", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [ + 2, + ], + }, + }, + children: [ + Node { + data: RefCell { + value: Ast { + value: Link( + NodeLink { + url: "https://github.com/tgrosinger/advanced-tables-obsidian", + title: "", + }, + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 11, + column: 3, + }, + end: LineColumn { + line: 11, + column: 75, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [ + Node { + data: RefCell { + value: Ast { + value: Text( + "Advanced Tables", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 11, + column: 4, + }, + end: LineColumn { + line: 11, + column: 18, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + ], + }, + Node { + data: RefCell { + value: Ast { + value: Text( + " pour le formatage des tableaux", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 11, + column: 76, + }, + end: LineColumn { + line: 11, + column: 106, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + ], + }, + ], + }, + Node { + data: RefCell { + value: Ast { + value: Item( + NodeList { + list_type: Bullet, + marker_offset: 0, + padding: 2, + start: 1, + delimiter: Period, + bullet_char: 45, + tight: false, + is_task_list: false, + }, + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 12, + column: 1, + }, + end: LineColumn { + line: 12, + column: 90, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [ + Node { + data: RefCell { + value: Ast { + value: Paragraph, + sourcepos: Sourcepos { + start: LineColumn { + line: 12, + column: 3, + }, + end: LineColumn { + line: 12, + column: 90, + }, + }, + internal_offset: 0, + content: "[Autocomplete](https://github.com/yeboster/autocomplete-obsidian) pour l'autocomplétion\n", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [ + 2, + ], + }, + }, + children: [ + Node { + data: RefCell { + value: Ast { + value: Link( + NodeLink { + url: "https://github.com/yeboster/autocomplete-obsidian", + title: "", + }, + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 12, + column: 3, + }, + end: LineColumn { + line: 12, + column: 67, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [ + Node { + data: RefCell { + value: Ast { + value: Text( + "Autocomplete", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 12, + column: 4, + }, + end: LineColumn { + line: 12, + column: 15, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + ], + }, + Node { + data: RefCell { + value: Ast { + value: Text( + " pour l’autocomplétion", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 12, + column: 68, + }, + end: LineColumn { + line: 12, + column: 90, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + ], + }, + ], + }, + Node { + data: RefCell { + value: Ast { + value: Item( + NodeList { + list_type: Bullet, + marker_offset: 0, + padding: 2, + start: 1, + delimiter: Period, + bullet_char: 45, + tight: false, + is_task_list: false, + }, + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 13, + column: 1, + }, + end: LineColumn { + line: 15, + column: 52, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [ + Node { + data: RefCell { + value: Ast { + value: Paragraph, + sourcepos: Sourcepos { + start: LineColumn { + line: 13, + column: 3, + }, + end: LineColumn { + line: 13, + column: 88, + }, + }, + internal_offset: 0, + content: "[Excalidraw](https://github.com/zsviczian/obsidian-excalidraw-plugin) pour les dessins\n", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [ + 2, + ], + }, + }, + children: [ + Node { + data: RefCell { + value: Ast { + value: Link( + NodeLink { + url: "https://github.com/zsviczian/obsidian-excalidraw-plugin", + title: "", + }, + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 13, + column: 3, + }, + end: LineColumn { + line: 13, + column: 71, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [ + Node { + data: RefCell { + value: Ast { + value: Text( + "Excalidra", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 13, + column: 4, + }, + end: LineColumn { + line: 13, + column: 12, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + Node { + data: RefCell { + value: Ast { + value: Text( + "w", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 13, + column: 13, + }, + end: LineColumn { + line: 13, + column: 13, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + ], + }, + Node { + data: RefCell { + value: Ast { + value: Text( + " pour les dessins", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 13, + column: 72, + }, + end: LineColumn { + line: 13, + column: 88, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + ], + }, + Node { + data: RefCell { + value: Ast { + value: BlockQuote, + sourcepos: Sourcepos { + start: LineColumn { + line: 14, + column: 3, + }, + end: LineColumn { + line: 15, + column: 52, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [ + Node { + data: RefCell { + value: Ast { + value: Paragraph, + sourcepos: Sourcepos { + start: LineColumn { + line: 14, + column: 5, + }, + end: LineColumn { + line: 15, + column: 52, + }, + }, + internal_offset: 0, + content: "SVG Padding de `20`.\nJ'utilises le format SVG pour toutes les images.\n", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [ + 4, + 4, + ], + }, + }, + children: [ + Node { + data: RefCell { + value: Ast { + value: Text( + "SVG Padding de ", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 14, + column: 5, + }, + end: LineColumn { + line: 14, + column: 19, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + Node { + data: RefCell { + value: Ast { + value: Code( + NodeCode { + num_backticks: 1, + literal: "20", + }, + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 14, + column: 21, + }, + end: LineColumn { + line: 14, + column: 22, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + Node { + data: RefCell { + value: Ast { + value: Text( + ".", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 14, + column: 24, + }, + end: LineColumn { + line: 14, + column: 24, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + Node { + data: RefCell { + value: Ast { + value: SoftBreak, + sourcepos: Sourcepos { + start: LineColumn { + line: 14, + column: 25, + }, + end: LineColumn { + line: 14, + column: 25, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + Node { + data: RefCell { + value: Ast { + value: Text( + "J’utilises le format SVG pour toutes les images.", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 15, + column: 5, + }, + end: LineColumn { + line: 15, + column: 52, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + ], + }, + ], + }, + ], + }, + Node { + data: RefCell { + value: Ast { + value: Item( + NodeList { + list_type: Bullet, + marker_offset: 0, + padding: 2, + start: 1, + delimiter: Period, + bullet_char: 45, + tight: false, + is_task_list: false, + }, + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 16, + column: 1, + }, + end: LineColumn { + line: 27, + column: 7, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [ + Node { + data: RefCell { + value: Ast { + value: Paragraph, + sourcepos: Sourcepos { + start: LineColumn { + line: 16, + column: 3, + }, + end: LineColumn { + line: 16, + column: 143, + }, + }, + internal_offset: 0, + content: "[Extended MathJax](https://github.com/xldenis/obsidian-latex) pour faire du $\\LaTeX$ > Mon `preamble.sty` (a placé à la racine du coffre) :\n", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [ + 2, + ], + }, + }, + children: [ + Node { + data: RefCell { + value: Ast { + value: Link( + NodeLink { + url: "https://github.com/xldenis/obsidian-latex", + title: "", + }, + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 16, + column: 3, + }, + end: LineColumn { + line: 16, + column: 63, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [ + Node { + data: RefCell { + value: Ast { + value: Text( + "Extended MathJax", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 16, + column: 4, + }, + end: LineColumn { + line: 16, + column: 19, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + ], + }, + Node { + data: RefCell { + value: Ast { + value: Text( + " pour faire du ", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 16, + column: 64, + }, + end: LineColumn { + line: 16, + column: 78, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + Node { + data: RefCell { + value: Ast { + value: Math( + NodeMath { + dollar_math: true, + display_math: false, + literal: "\\LaTeX", + }, + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 16, + column: 80, + }, + end: LineColumn { + line: 16, + column: 85, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + Node { + data: RefCell { + value: Ast { + value: Text( + " > Mon ", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 16, + column: 87, + }, + end: LineColumn { + line: 16, + column: 93, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + Node { + data: RefCell { + value: Ast { + value: Code( + NodeCode { + num_backticks: 1, + literal: "preamble.sty", + }, + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 16, + column: 95, + }, + end: LineColumn { + line: 16, + column: 106, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + Node { + data: RefCell { + value: Ast { + value: Text( + " (a placé à la racine du coffre) :", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 16, + column: 108, + }, + end: LineColumn { + line: 16, + column: 143, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + ], + }, + Node { + data: RefCell { + value: Ast { + value: BlockQuote, + sourcepos: Sourcepos { + start: LineColumn { + line: 17, + column: 3, + }, + end: LineColumn { + line: 27, + column: 7, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [ + Node { + data: RefCell { + value: Ast { + value: CodeBlock( + NodeCodeBlock { + fenced: true, + fence_char: 96, + fence_length: 3, + fence_offset: 0, + info: "plaintext", + literal: "\\newcommand{\\N}{\\mathbb{N}}\n\\newcommand{\\R}{\\mathbb{R}}\n\\newcommand{\\Z}{\\mathbb{Z}}\n\\newcommand{\\O}{\\Theta}\n\\newcommand{\\ra}{\\rightarrow}\n\\newcommand{\\la}{\\leftarrow}\n\\newcommand{\\RA}{\\Rightarrow}\n\\newcommand{\\LA}{\\Leftarrow}\n\\newcommand{\\u}{\\mu}\n", + }, + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 17, + column: 5, + }, + end: LineColumn { + line: 27, + column: 7, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [ + 7, + 4, + 4, + 4, + 4, + 4, + 4, + 4, + 4, + 4, + ], + }, + }, + children: [], + }, + ], + }, + ], + }, + Node { + data: RefCell { + value: Ast { + value: Item( + NodeList { + list_type: Bullet, + marker_offset: 0, + padding: 2, + start: 1, + delimiter: Period, + bullet_char: 45, + tight: false, + is_task_list: false, + }, + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 28, + column: 1, + }, + end: LineColumn { + line: 28, + column: 113, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [ + Node { + data: RefCell { + value: Ast { + value: Paragraph, + sourcepos: Sourcepos { + start: LineColumn { + line: 28, + column: 3, + }, + end: LineColumn { + line: 28, + column: 113, + }, + }, + internal_offset: 0, + content: "[Quick Latex for Obsidian](https://github.com/joeyuping/quick_latex_obsidian) pour l'autocompletion en $\\LaTeX$\n", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [ + 2, + ], + }, + }, + children: [ + Node { + data: RefCell { + value: Ast { + value: Link( + NodeLink { + url: "https://github.com/joeyuping/quick_latex_obsidian", + title: "", + }, + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 28, + column: 3, + }, + end: LineColumn { + line: 28, + column: 79, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [ + Node { + data: RefCell { + value: Ast { + value: Text( + "Quick Latex for Obsidian", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 28, + column: 4, + }, + end: LineColumn { + line: 28, + column: 27, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + ], + }, + Node { + data: RefCell { + value: Ast { + value: Text( + " pour l’autocompletion en ", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 28, + column: 80, + }, + end: LineColumn { + line: 28, + column: 105, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + Node { + data: RefCell { + value: Ast { + value: Math( + NodeMath { + dollar_math: true, + display_math: false, + literal: "\\LaTeX", + }, + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 28, + column: 107, + }, + end: LineColumn { + line: 28, + column: 112, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + ], + }, + ], + }, + Node { + data: RefCell { + value: Ast { + value: Item( + NodeList { + list_type: Bullet, + marker_offset: 0, + padding: 2, + start: 1, + delimiter: Period, + bullet_char: 45, + tight: false, + is_task_list: false, + }, + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 29, + column: 1, + }, + end: LineColumn { + line: 30, + column: 0, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: true, + table_visited: false, + line_offsets: [], + }, + }, + children: [ + Node { + data: RefCell { + value: Ast { + value: Paragraph, + sourcepos: Sourcepos { + start: LineColumn { + line: 29, + column: 3, + }, + end: LineColumn { + line: 29, + column: 168, + }, + }, + internal_offset: 0, + content: "[Advanced Slides](https://github.com/MSzturc/obsidian-advanced-slides) car parfois j'ai la flemme de faire une présentation en $\\LaTeX$ (et plus le temps aussi 💀)\n", + open: false, + last_line_blank: true, + table_visited: false, + line_offsets: [ + 2, + ], + }, + }, + children: [ + Node { + data: RefCell { + value: Ast { + value: Link( + NodeLink { + url: "https://github.com/MSzturc/obsidian-advanced-slides", + title: "", + }, + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 29, + column: 3, + }, + end: LineColumn { + line: 29, + column: 72, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [ + Node { + data: RefCell { + value: Ast { + value: Text( + "Advanced Slides", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 29, + column: 4, + }, + end: LineColumn { + line: 29, + column: 18, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + ], + }, + Node { + data: RefCell { + value: Ast { + value: Text( + " car parfois j’ai la flemme de faire une présentation en ", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 29, + column: 73, + }, + end: LineColumn { + line: 29, + column: 130, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + Node { + data: RefCell { + value: Ast { + value: Math( + NodeMath { + dollar_math: true, + display_math: false, + literal: "\\LaTeX", + }, + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 29, + column: 132, + }, + end: LineColumn { + line: 29, + column: 137, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + Node { + data: RefCell { + value: Ast { + value: Text( + " (et plus le temps aussi 💀)", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 29, + column: 139, + }, + end: LineColumn { + line: 29, + column: 168, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + ], + }, + ], + }, + ], +} +Node { + data: RefCell { + value: Ast { + value: Paragraph, + sourcepos: Sourcepos { + start: LineColumn { + line: 31, + column: 1, + }, + end: LineColumn { + line: 31, + column: 69, + }, + }, + internal_offset: 0, + content: "J'utilises aussi du CSS, a charger dans les paramètres d'apparence :\n", + open: false, + last_line_blank: true, + table_visited: false, + line_offsets: [ + 0, + ], + }, + }, + children: [ + Node { + data: RefCell { + value: Ast { + value: Text( + "J’utilises aussi du CSS, a charger dans les paramètres d’apparence :", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 31, + column: 1, + }, + end: LineColumn { + line: 31, + column: 69, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + ], +} +Node { + data: RefCell { + value: Ast { + value: List( + NodeList { + list_type: Bullet, + marker_offset: 0, + padding: 2, + start: 1, + delimiter: Period, + bullet_char: 45, + tight: true, + is_task_list: false, + }, + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 33, + column: 1, + }, + end: LineColumn { + line: 50, + column: 0, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [ + Node { + data: RefCell { + value: Ast { + value: Item( + NodeList { + list_type: Bullet, + marker_offset: 0, + padding: 2, + start: 1, + delimiter: Period, + bullet_char: 45, + tight: false, + is_task_list: false, + }, + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 33, + column: 1, + }, + end: LineColumn { + line: 33, + column: 173, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [ + Node { + data: RefCell { + value: Ast { + value: Paragraph, + sourcepos: Sourcepos { + start: LineColumn { + line: 33, + column: 3, + }, + end: LineColumn { + line: 33, + column: 173, + }, + }, + internal_offset: 0, + content: "[outliner-for-the-outline-and-file-explorer.css](https://github.com/kmaasrud/awesome-obsidian/blob/master/code/css-snippets/outliner-for-the-outline-and-file-explorer.css)\n", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [ + 2, + ], + }, + }, + children: [ + Node { + data: RefCell { + value: Ast { + value: Link( + NodeLink { + url: "https://github.com/kmaasrud/awesome-obsidian/blob/master/code/css-snippets/outliner-for-the-outline-and-file-explorer.css", + title: "", + }, + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 33, + column: 3, + }, + end: LineColumn { + line: 33, + column: 173, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [ + Node { + data: RefCell { + value: Ast { + value: Text( + "outliner", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 33, + column: 4, + }, + end: LineColumn { + line: 33, + column: 11, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + Node { + data: RefCell { + value: Ast { + value: Text( + "-", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 33, + column: 12, + }, + end: LineColumn { + line: 33, + column: 12, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + Node { + data: RefCell { + value: Ast { + value: Text( + "for", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 33, + column: 13, + }, + end: LineColumn { + line: 33, + column: 15, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + Node { + data: RefCell { + value: Ast { + value: Text( + "-", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 33, + column: 16, + }, + end: LineColumn { + line: 33, + column: 16, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + Node { + data: RefCell { + value: Ast { + value: Text( + "the", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 33, + column: 17, + }, + end: LineColumn { + line: 33, + column: 19, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + Node { + data: RefCell { + value: Ast { + value: Text( + "-", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 33, + column: 20, + }, + end: LineColumn { + line: 33, + column: 20, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + Node { + data: RefCell { + value: Ast { + value: Text( + "outline", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 33, + column: 21, + }, + end: LineColumn { + line: 33, + column: 27, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + Node { + data: RefCell { + value: Ast { + value: Text( + "-", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 33, + column: 28, + }, + end: LineColumn { + line: 33, + column: 28, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + Node { + data: RefCell { + value: Ast { + value: Text( + "and", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 33, + column: 29, + }, + end: LineColumn { + line: 33, + column: 31, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + Node { + data: RefCell { + value: Ast { + value: Text( + "-", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 33, + column: 32, + }, + end: LineColumn { + line: 33, + column: 32, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + Node { + data: RefCell { + value: Ast { + value: Text( + "file", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 33, + column: 33, + }, + end: LineColumn { + line: 33, + column: 36, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + Node { + data: RefCell { + value: Ast { + value: Text( + "-", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 33, + column: 37, + }, + end: LineColumn { + line: 33, + column: 37, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + Node { + data: RefCell { + value: Ast { + value: Text( + "explorer", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 33, + column: 38, + }, + end: LineColumn { + line: 33, + column: 45, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + Node { + data: RefCell { + value: Ast { + value: Text( + ".", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 33, + column: 46, + }, + end: LineColumn { + line: 33, + column: 46, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + Node { + data: RefCell { + value: Ast { + value: Text( + "css", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 33, + column: 47, + }, + end: LineColumn { + line: 33, + column: 49, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + ], + }, + ], + }, + ], + }, + Node { + data: RefCell { + value: Ast { + value: Item( + NodeList { + list_type: Bullet, + marker_offset: 0, + padding: 2, + start: 1, + delimiter: Period, + bullet_char: 45, + tight: false, + is_task_list: false, + }, + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 34, + column: 1, + }, + end: LineColumn { + line: 50, + column: 0, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: true, + table_visited: false, + line_offsets: [], + }, + }, + children: [ + Node { + data: RefCell { + value: Ast { + value: Paragraph, + sourcepos: Sourcepos { + start: LineColumn { + line: 34, + column: 3, + }, + end: LineColumn { + line: 34, + column: 28, + }, + }, + internal_offset: 0, + content: "`obsidian.css` contenant :\n", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [ + 2, + ], + }, + }, + children: [ + Node { + data: RefCell { + value: Ast { + value: Code( + NodeCode { + num_backticks: 1, + literal: "obsidian.css", + }, + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 34, + column: 4, + }, + end: LineColumn { + line: 34, + column: 15, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + Node { + data: RefCell { + value: Ast { + value: Text( + " contenant :", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 34, + column: 17, + }, + end: LineColumn { + line: 34, + column: 28, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + ], + }, + Node { + data: RefCell { + value: Ast { + value: BlockQuote, + sourcepos: Sourcepos { + start: LineColumn { + line: 35, + column: 3, + }, + end: LineColumn { + line: 49, + column: 7, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: true, + table_visited: false, + line_offsets: [], + }, + }, + children: [ + Node { + data: RefCell { + value: Ast { + value: CodeBlock( + NodeCodeBlock { + fenced: true, + fence_char: 96, + fence_length: 3, + fence_offset: 0, + info: "css", + literal: "div.mermaid {\n text-align: center;\n}\n\nimg {\n display: block;\n margin: auto;\n}\n\n.mermaid svg {\n max-width: 100%;\n height: auto;\n}\n", + }, + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 35, + column: 5, + }, + end: LineColumn { + line: 49, + column: 7, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [ + 7, + 4, + 4, + 4, + 3, + 4, + 4, + 4, + 4, + 3, + 4, + 4, + 4, + 4, + ], + }, + }, + children: [], + }, + ], + }, + ], + }, + ], +} +Node { + data: RefCell { + value: Ast { + value: Heading( + NodeHeading { + level: 2, + setext: false, + }, + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 51, + column: 1, + }, + end: LineColumn { + line: 51, + column: 10, + }, + }, + internal_offset: 3, + content: "Du site", + open: false, + last_line_blank: true, + table_visited: false, + line_offsets: [ + 3, + ], + }, + }, + children: [ + Node { + data: RefCell { + value: Ast { + value: Text( + "Du site", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 51, + column: 4, + }, + end: LineColumn { + line: 51, + column: 10, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + ], +} +Node { + data: RefCell { + value: Ast { + value: Paragraph, + sourcepos: Sourcepos { + start: LineColumn { + line: 53, + column: 1, + }, + end: LineColumn { + line: 53, + column: 351, + }, + }, + internal_offset: 0, + content: "J'utilises un [fichier .css](https://univ.mylloon.fr/css/custom.css) pour imiter ma configuration [Obsidian](#en-cours). J'ai aussi les mêmes bindings LaTeX qui fonctionnent sur le site. Aussi un [correctif est appliqué aux images SVG](https://git.mylloon.fr/Anri/Pinedocs-utils/src/branch/main/custom.js) afin de toujours être lisible sur le site.\n", + open: false, + last_line_blank: true, + table_visited: false, + line_offsets: [ + 0, + ], + }, + }, + children: [ + Node { + data: RefCell { + value: Ast { + value: Text( + "J’utilises un ", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 53, + column: 1, + }, + end: LineColumn { + line: 53, + column: 14, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + Node { + data: RefCell { + value: Ast { + value: Link( + NodeLink { + url: "https://univ.mylloon.fr/css/custom.css", + title: "", + }, + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 53, + column: 15, + }, + end: LineColumn { + line: 53, + column: 68, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [ + Node { + data: RefCell { + value: Ast { + value: Text( + "fichier ", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 53, + column: 16, + }, + end: LineColumn { + line: 53, + column: 23, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + Node { + data: RefCell { + value: Ast { + value: Text( + ".", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 53, + column: 24, + }, + end: LineColumn { + line: 53, + column: 24, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + Node { + data: RefCell { + value: Ast { + value: Text( + "css", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 53, + column: 25, + }, + end: LineColumn { + line: 53, + column: 27, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + ], + }, + Node { + data: RefCell { + value: Ast { + value: Text( + " pour imiter ma configuration ", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 53, + column: 69, + }, + end: LineColumn { + line: 53, + column: 98, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + Node { + data: RefCell { + value: Ast { + value: Link( + NodeLink { + url: "#en-cours", + title: "", + }, + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 53, + column: 99, + }, + end: LineColumn { + line: 53, + column: 119, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [ + Node { + data: RefCell { + value: Ast { + value: Text( + "Obsidian", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 53, + column: 100, + }, + end: LineColumn { + line: 53, + column: 107, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + ], + }, + Node { + data: RefCell { + value: Ast { + value: Text( + ". J’ai aussi les mêmes bindings LaTeX qui fonctionnent sur le site. Aussi un ", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 53, + column: 120, + }, + end: LineColumn { + line: 53, + column: 197, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + Node { + data: RefCell { + value: Ast { + value: Link( + NodeLink { + url: "https://git.mylloon.fr/Anri/Pinedocs-utils/src/branch/main/custom.js", + title: "", + }, + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 53, + column: 198, + }, + end: LineColumn { + line: 53, + column: 307, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [ + Node { + data: RefCell { + value: Ast { + value: Text( + "correctif est appliqué aux images SVG", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 53, + column: 199, + }, + end: LineColumn { + line: 53, + column: 236, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + ], + }, + Node { + data: RefCell { + value: Ast { + value: Text( + " afin de toujours être lisible sur le site.", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 53, + column: 308, + }, + end: LineColumn { + line: 53, + column: 351, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + ], +} +Node { + data: RefCell { + value: Ast { + value: Heading( + NodeHeading { + level: 2, + setext: false, + }, + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 55, + column: 1, + }, + end: LineColumn { + line: 55, + column: 72, + }, + }, + internal_offset: 3, + content: "Contribution à [PineDocs](https://github.com/xy2z/PineDocs#pinedocs)", + open: false, + last_line_blank: true, + table_visited: false, + line_offsets: [ + 3, + ], + }, + }, + children: [ + Node { + data: RefCell { + value: Ast { + value: Text( + "Contribution à ", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 55, + column: 4, + }, + end: LineColumn { + line: 55, + column: 19, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + Node { + data: RefCell { + value: Ast { + value: Link( + NodeLink { + url: "https://github.com/xy2z/PineDocs#pinedocs", + title: "", + }, + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 55, + column: 20, + }, + end: LineColumn { + line: 55, + column: 72, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [ + Node { + data: RefCell { + value: Ast { + value: Text( + "PineDocs", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 55, + column: 21, + }, + end: LineColumn { + line: 55, + column: 28, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + ], + }, + ], +} +Node { + data: RefCell { + value: Ast { + value: Paragraph, + sourcepos: Sourcepos { + start: LineColumn { + line: 57, + column: 1, + }, + end: LineColumn { + line: 58, + column: 156, + }, + }, + internal_offset: 0, + content: "Toutes mes contributions (tout projet confondu) sont dispos [à cette adresse](https://www.mylloon.fr/contrib).\nSi ça t'intéresse, [voici la branche](https://github.com/Mylloon/PineDocs/tree/temp) sur laquelle le site tourne actuellement avec toutes mes PR mergées.\n", + open: false, + last_line_blank: true, + table_visited: false, + line_offsets: [ + 0, + 0, + ], + }, + }, + children: [ + Node { + data: RefCell { + value: Ast { + value: Text( + "Toutes mes contributions (tout projet confondu) sont dispos ", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 57, + column: 1, + }, + end: LineColumn { + line: 57, + column: 60, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + Node { + data: RefCell { + value: Ast { + value: Link( + NodeLink { + url: "https://www.mylloon.fr/contrib", + title: "", + }, + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 57, + column: 61, + }, + end: LineColumn { + line: 57, + column: 110, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [ + Node { + data: RefCell { + value: Ast { + value: Text( + "à cette adresse", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 57, + column: 62, + }, + end: LineColumn { + line: 57, + column: 77, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + ], + }, + Node { + data: RefCell { + value: Ast { + value: Text( + ".", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 57, + column: 111, + }, + end: LineColumn { + line: 57, + column: 111, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + Node { + data: RefCell { + value: Ast { + value: SoftBreak, + sourcepos: Sourcepos { + start: LineColumn { + line: 57, + column: 112, + }, + end: LineColumn { + line: 57, + column: 112, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + Node { + data: RefCell { + value: Ast { + value: Text( + "Si ça t’intéresse, ", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 58, + column: 1, + }, + end: LineColumn { + line: 58, + column: 21, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + Node { + data: RefCell { + value: Ast { + value: Link( + NodeLink { + url: "https://github.com/Mylloon/PineDocs/tree/temp", + title: "", + }, + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 58, + column: 22, + }, + end: LineColumn { + line: 58, + column: 86, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [ + Node { + data: RefCell { + value: Ast { + value: Text( + "voici la branche", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 58, + column: 23, + }, + end: LineColumn { + line: 58, + column: 38, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + ], + }, + Node { + data: RefCell { + value: Ast { + value: Text( + " sur laquelle le site tourne actuellement avec toutes mes PR mergées.", + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 58, + column: 87, + }, + end: LineColumn { + line: 58, + column: 156, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [], + }, + }, + children: [], + }, + ], +} +Node { + data: RefCell { + value: Ast { + value: HtmlBlock( + NodeHtmlBlock { + block_type: 2, + literal: "\n", + }, + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 60, + column: 1, + }, + end: LineColumn { + line: 66, + column: 3, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: true, + table_visited: false, + line_offsets: [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + ], + }, + }, + children: [], +} +Node { + data: RefCell { + value: Ast { + value: CodeBlock( + NodeCodeBlock { + fenced: true, + fence_char: 96, + fence_length: 3, + fence_offset: 0, + info: "hljs-css", + literal: "div.mermaid {\n text-align: center;\n}\nimg {\n display: block;\n margin: auto;\n}\n.mermaid svg {\n max-width: 100%;\n height: auto;\n}\n", + }, + ), + sourcepos: Sourcepos { + start: LineColumn { + line: 69, + column: 1, + }, + end: LineColumn { + line: 81, + column: 3, + }, + }, + internal_offset: 0, + content: "", + open: false, + last_line_blank: false, + table_visited: false, + line_offsets: [ + 3, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + ], + }, + }, + children: [], +}