To build the HTML page install pandoc and run the following command:
pandoc -c styles.css -s index.md -o index.html
For a PDF build run the following command (using wkhtmltopdf as engine):
pandoc -t html --css styles.css index.md -o cv.pdf --pdf-engine=wkhtmltopdf
Due to PDF ignoring @media style, a temporary work-around is to comment out @media only part to get two-column representation in the PDF.