some scripts for markdown