adds markdown to javascript too