Custom CSS with the Markdown to HTML Generator


#1

With the Glitch-made Markdown to HTML generator, how would you use your own CSS file?


#2

Are you referring to markdown-webpage? If so on line 11 in the server.js file (https://glitch.com/edit/#!/markdown-webpage?path=server.js:11:2) you can edit it to include the styles inline in the header, for example see: https://glitch.com/edit/#!/luxuriant-archeology


#3

Awesome, thank you!

Is it possible to use an external css file though?


#4

Yep! Same way you normally would except you include the full URL:

<link rel="stylesheet" href="https://www.example.com/styles.css">