Add plan for parsing Logseq outline format markdown#8
Conversation
Co-authored-by: aaronmyatt <11920225+aaronmyatt@users.noreply.github.com>
|
@copilot let's try a different approach. Let's generalise the existing parser to work regardless of whether the headers, lists and codeblocks are nested in lists themselves. The existing rules should apply: A ## header and following codeblock become a function in the generated pipeline script. This happens regardless of how nested in lists they are. List syntax with one of the recognised variants, like |
Co-authored-by: aaronmyatt <11920225+aaronmyatt@users.noreply.github.com>
Updated the plan in commit a816f3e to use the generalized parser approach. Key changes:
The plan now reflects parsing Logseq files directly without preprocessing. |
mdToPipe.tsandrangeFinder.tssetupChecksas the main function needing modificationfindInnermostListhelper function logicOriginal prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.