Skip to content

Instantly share code, notes, and snippets.

@ChaseFlorell ChaseFlorell/markdown.css forked from ImJasonH/markdown.css
Last active Aug 29, 2015

Embed
What would you like to do?
.md *{
font-size: 12pt;
font-family: monospace;
font-weight: normal;
font-style: normal;
text-decoration: none;
color: black;
cursor: default;
}
.md h1::before { content: "# "; }
.md h2::before { content: "## "; }
.md h3::before { content: "### "; }
.md h4::before { content: "#### "; }
.md h5::before { content: "##### "; }
.md h6::before { content: "###### "; }
.md h1::after { content: " #"; }
.md h2::after { content: " ##"; }
.md h3::after { content: " ###"; }
.md h4::after { content: " ####"; }
.md h5::after { content: " #####"; }
.md h6::after { content: " ######"; }
.md strike::after,
.md strike::before { content: "~~"; }
.md i::before,
.md i::after,
.md em::before,
.md em::after { content: "*"; }
.md b::before,
.md b::after,
.md strong::before,
.md strong::after { content: "**"; }
.md ol,
.md ul { list-style: none; padding-left: 0; }
.md ul li::before { content: "* "; }
.md ol { counter-reset: numberlist; }
.md ol li { counter-increment: numberlist; }
.md ol li::before { content: counter(numberlist) ". "; }
.md code::before,
.md code::after { content: "`"; }
.md pre::before { content: "```" attr(lang) "\A"; }
.md pre::after { content:"```\A"; }
.md a::before { content: "["; }
.md a::after { content: "](" attr(href) ")"; }
.md tr::before { content: "| "; }
.md td::after { content: " | "; }
.md thead td::after { content: " | \A-----| "; white-space: pre; }
.md hr {height: 0px; border:none;}
.md hr::after {content: "-----";}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.