Now produce "markdown" (or <table> tags for tables) instead of pure HTML. Hopefully doesn't introduce regressions. Added a test suite for future iterations.