expected: pre-flow?
given: (part-start 0 #f '((part "section")) (style #f '()) '("Section"))
--
In that case, does it work if you simply remove the call to `decode-flow` from the definition of `markdown-inline`? Then the function would just return a list of pre-parts to be spliced into the enclosing document.
If you want to make the Markdown sections properly nest under the current section, you would probably need to adjust the depths of all `part-start` instances in the result. For example, if you use `markdown-inline` within a subsection, you would probably want to increase the depth of all part-starts by 2. I don't know if it's possible to find the current depth automatically, so you might need to make it an extra argument to `markdown-inline`.
I also would have expected calling `decode` and then extracting and appending the blocks and parts to work, although it would have different behavior wrt the trailing text. Your original message said that didn't work, but how did it fail?
@title{Hello}@(markdown-inline "new.md")
This is a* list* mind-mapping* pointswritten in a style that isn't too wordy.