The highlighting is done by the Scintilla editing component Geany uses which is a separate project. Test highlighting problems in the Scite reference editor for Scintilla if you can, report them directly to Scintilla (NB Geany uses version 3.10 not version 4 when you report, but that should not affect the MD lexer). Please post the issue number here for tracking.