fix header highlighting

- pandoc has an auto-numbered list format using #.
  which were being marked as headers
- added condition that headers do not start with .