Replaces the title by the first line of the doc

See https://github.com/Thiht/markdown-viewer/issues/5