line numbers shown for markdown files as well as code files now
simplified the assert