fixed broken titles for markdown documents