Text export lua scripts

Fixing /scripts/forum-dwarves.lua to work with 0.40.13 and adding new scripts/markdown.lua which is doing basically the same stuff, but in markdown (for reddit posts)
That's good to know, thanks. Do you know of any examples where [B] would be used not at the end of the text though? I think I've only seen it used at the end of text, so dropping it altogether seemed like the best solution.