A feature and maybe a bug?

- From an outline mode file the export to Markdown feature adds artifacts to the file. Basically the escape of Markdown code which doesn’t need to be there. You have to manually remove the escape character and who needs that? Outline mode should be all about structure. I write whatever I want in it and use whatever syntax I want and MojoPad should render the text as is in the Markdown export. The only thing that the markdown export should be cognizant of for outline mode is the structure of the document.

- I might have come across a bug or a feature. When I come back to a *MojoPad* document, the cursor should be in place of the last edit. I don’t think that is working. OK, it is working partly. When I move between open documents in MojoPad, the cursor is positioned correctly but this knowledge doesn’t seem to last over restarts of the program. When I restart, the cursor is at the top of the document. Is that desired behavior?

macosxguru

Both of these are in 1.59.0, and the first one you have now reported twice.

The Markdown export. You are right that outline mode is about structure and the text should arrive as you wrote it. The escaping exists so that somebody who typed “2 * 3” gets arithmetic back rather than emphasis — reasonable for most writing, and exactly backwards for yours. You ran into the same thing writing Org a while back; that time I fixed the one path you had hit, which meant the next path was always going to find you too.

So it is a decision the document makes now rather than something I patch per export: Info palette ▸ I write my own markup. Turn it on and exports hand your text over as written — Markdown, Org, anything. Per document, so a wiki of notes and a wiki of source can sit side by side.

The cursor. Not a feature, a gap, and you diagnosed it precisely — including why it looked half-working. Moving between open documents kept your place because the page was still in memory holding its own selection. Nothing was ever written down, so a restart lost it. It is written down now and restored when you come back.

Worth admitting how thin the line was: MojoPad already remembered your place in a PDF and an EPUB, and had simply never done it for the thing you actually write in.

Mark