Brett on 22 Jun, 2017 03:06 PM
There does seem to be some inconsistency in this, and I'll look into it.
Right now, the title node is taken from MultiMarkdown metadata (title:
key), so if you're document looks like:
title: Main Node Title
# Header 1
## Subsection 1.1
then a round trip from Marked->OPML->MindNode->Markdown (or
Marked->OPML->Marked->Markdown) will result in:
# Main Node Title
## Header 1
- Subsection 1.1
Main Node Title
Some of this is unavoidable as every OPML-capable app can interpret the
hierarchy differently. OPML is just an outline, so a poorly structured
document (that has multiple h1s, or skips from h1-h3, h2-h5, etc.) will
be interpreted differently. However, I do think that Marked should
interpret the first h1 as a main node, especially if there's no title:
metadata. I'll look into this.
on 22 Jun, 2017 09:43 PM
It is certainly not a deal-breaker.
I have adopted a sort of iterative writing workflow, cycling between MultiMarkdown and OPML (mind map), to more effectively integrate the brainstorm and the outline. I would just like to predict what I expect to see with each conversion.