Janitorial clean up

- Clean up HTML and text output flow
Move extensions to pymdown-extensions repo