new formatting guide for Synapse Markdown Processor, pulled out regular expressions, and fixed bugs aroudn newlines