master: add LINKMODE for markdown.lex; some other updates