Added Ruby tweaks and Markdown preview function.