Skip to content

Instantly share code, notes, and snippets.

@framp
Forked from imjasonh/markdown.css
Last active August 29, 2015 14:21
Show Gist options
  • Save framp/d7c8478ca647b446325c to your computer and use it in GitHub Desktop.
Save framp/d7c8478ca647b446325c to your computer and use it in GitHub Desktop.
ready to take over every website !important
* {
font-size: 12pt !important;
font-family: monospace !important;
font-weight: normal !important;
font-style: normal !important;
text-decoration: none !important;
color: black !important;
cursor: default !important;
background: none !important;;
width: auto !important;
height: auto !important;
margin: 0 !important;
padding: 0 !important;
line-height: 12pt !important;
}
h1::before { content: "# " !important; }
h2::before { content: "## " !important; }
h3::before { content: "### " !important; }
h4::before { content: "#### " !important; }
h5::before { content: "##### " !important; }
h6::before { content: "###### " !important; }
strike::after, strike::before { content: "~~" !important; }
i::before, i::after { content: "*" !important; }
b::before, b::after { content: "**" !important; }
ol, ul { list-style: none !important; padding-left: 0 !important; }
ul li::before { content: "* " !important; }
ol li::before { content: "1. " !important; }
code::before, code::after { content: "`" !important; }
pre::before { content: "```" attr(lang) "\A" !important; }
pre::after { content:"```\A" !important; }
a::before { content: "[" !important; }
a::after { content: "](" attr(href) ")" !important; }
tr::before { content: "| " !important; }
td::after { content: " | " !important; }
thead td::after { content: " | \A-----| " !important; white-space: pre !important; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment