In particular the header settings make sure that you will have numbered lines and double spacing. The pages are also numbered. Additional YAML settings make sure that sections are numbered (which can be disabled if desired). Just clone this repository and start writing and render the output as either html, docx or pdf.
This document allows for the rendering of html, docx, and pdf files. An example rendered pdf is provided in the repository.