Never seen that before.
DT 3.9 on macOS 13.2.1, Intel
Here’s what I did:
- went to test_markup.md · GitHub
- switched on raw display there
- selected the complete text
- went to DT, Data/new document from clipboard
- got an HTML document (why – no idea, unless the MIME type in the clipboard is HTML?) containing the MD data
- deleted that document
- selected “Data/New/Markdown” in DT
- pasted the MD data into this new document
- everything looked honky-dory until I turned on the preview.
- the wrong preview belongs to another MD document that is actually stored in the same group
- terminating and restarting DT doesn’t change anything, the preview is still of the wrong doc
- Removed the global stylesheet setting from preferences and – whoa, everything’s good again.
- This “stylesheet” was in fact an item link to another MD document (the one then displayed in preview).
This was, of course, a very stupid user mistake. But would it perhaps be possible to check if the CSS given in the global preferences is really a CSS and not something else?