How can I add custom CSS to the result of the markdown command?

Unix & Linux Asked by hba on September 1, 2020

New to markdown…

I have a very simple markdown file, I am using the markdown command

markdown -o something.html

Is it possible for me to inject my own css into the something.html file

I tried to insert the css as raw html in the markdown and then use raw-html flag when processing the markdown, I am probably doing something wrong because markdown is treating the html as text..

here is the start of

    <link res="stylesheet" type="text/css" href="mystyle.css">
# Testing md
## testing md2

and here is the result of executing markdown -o something.html -f +html is:

<h1>Testing md</h1>
<h2>testing md2</h2>

Add your own answers!

Related Questions

How to configure a GRE tunnel for ubuntu?

1  Asked on December 6, 2020 by natf2d


resolv.conf always empty

1  Asked on December 6, 2020 by marc


Run a python script when connected to internet

1  Asked on December 5, 2020 by cutepoison


SSH remote forwarding results in 404 Not Found

1  Asked on December 4, 2020 by flow2k


Isolate non-FOSS “completely”

1  Asked on December 4, 2020 by user654789384


Use ranger as my default file manager in i3wm

3  Asked on December 4, 2020 by sln


Ask a Question

Get help from others!

© 2022 All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP