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

Linux kernel.panic not working as expected

0  Asked on November 11, 2021 by holis


Is knowing Linux required to learn Unix?

4  Asked on November 9, 2021


How can I change the default gateway?

7  Asked on November 9, 2021 by www


wget – how to reject string from downloading html pages

2  Asked on November 9, 2021 by speld_rwong


Unable to manually bind driver in Linux

0  Asked on November 9, 2021 by nzaegik


Three monitors: xrandr configure crtc failed

1  Asked on November 9, 2021 by cash-weaver


Tool to play back pipe including timing

3  Asked on November 9, 2021


How to add 2 column values and find out percentage value?

1  Asked on November 9, 2021 by user3559780


Default username when using TTY login

1  Asked on November 9, 2021 by thekarlo95


ip is assigned, local netowrk works but the external network is unreachable

1  Asked on November 9, 2021 by arghavan-mohammadhassani


Issue with an update on fedora 32

2  Asked on November 9, 2021


Ask a Question

Get help from others!

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