Added horizontal rules support, update math delimiters