I noticed that there is a planned feature for Exporting to OPML format from the existing Markdown. I thought it would be helpful to collect some resources for such an improvement and potentially outline some TestCases for the same.
Based on the Wikipedia article on OPML, I was able to find the Specs for OPML 2.0. And using the examples and description there I would outline the following expectations, based on my usage of this plugin.
The Title for an Obsidian Mindmap is the # level heading, and is the central Node in a MindMap. A mindmap with just a central node should therefore the following markdown
All Child Nodes after the first level live based on indentation level of a Bullet List of their Parent. In OPML all children generate a new Outline Node underneath their parent. So some special parsing around finding the ## level children and the children marked by - will be needed. Given Markdown like:
# Some Idea
## Freedoms
- Discoverable
- Transferable
- Teaching
- Composable
## Constraints
- Not Everything is easy
I noticed that there is a planned feature for Exporting to OPML format from the existing Markdown. I thought it would be helpful to collect some resources for such an improvement and potentially outline some TestCases for the same.
Based on the Wikipedia article on OPML, I was able to find the Specs for OPML 2.0. And using the examples and description there I would outline the following expectations, based on my usage of this plugin.
#
level heading, and is the central Node in a MindMap. A mindmap with just a central node should therefore the following markdownmindmap-plugin: basic
Central Node
##
level children and the children marked by-
will be needed. Given Markdown like:You should get OPML like:
These examples were manually constructed based on Samples for the optional Category Attribute and a sample for an outline of US States and cities