Skip to content

Instantly share code, notes, and snippets.

@pjq
Forked from imjasonh/markdown.css
Last active August 29, 2015 14:21

Revisions

  1. @imjasonh imjasonh revised this gist Apr 10, 2015. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions markdown.css
    Original file line number Diff line number Diff line change
    @@ -18,8 +18,8 @@ strike::after, strike::before { content: "~~"; }
    i::before, i::after { content: "*"; }
    b::before, b::after { content: "**"; }
    ol, ul { list-style: none; padding-left: 0; }
    ol li::before { content: "* "; }
    ul li::before { content: "1. "; }
    ul li::before { content: "* "; }
    ol li::before { content: "1. "; }
    code::before, code::after { content: "`"; }
    pre::before { content: "```" attr(lang) "\A"; }
    pre::after { content:"```\A"; }
  2. @imjasonh imjasonh revised this gist Apr 10, 2015. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion markdown.css
    Original file line number Diff line number Diff line change
    @@ -21,7 +21,8 @@ ol, ul { list-style: none; padding-left: 0; }
    ol li::before { content: "* "; }
    ul li::before { content: "1. "; }
    code::before, code::after { content: "`"; }
    pre::before, pre::after { content:"```"; }
    pre::before { content: "```" attr(lang) "\A"; }
    pre::after { content:"```\A"; }
    a::before { content: "["; }
    a::after { content: "](" attr(href) ")"; }
    tr::before { content: "| "; }
  3. @imjasonh imjasonh revised this gist Apr 7, 2015. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion markdown.css
    Original file line number Diff line number Diff line change
    @@ -23,4 +23,7 @@ ul li::before { content: "1. "; }
    code::before, code::after { content: "`"; }
    pre::before, pre::after { content:"```"; }
    a::before { content: "["; }
    a::after { content: "](" attr(href) ")"; }
    a::after { content: "](" attr(href) ")"; }
    tr::before { content: "| "; }
    td::after { content: " | "; }
    thead td::after { content: " | \A-----| "; white-space: pre; }
  4. @imjasonh imjasonh revised this gist Apr 6, 2015. 1 changed file with 0 additions and 2 deletions.
    2 changes: 0 additions & 2 deletions markdown.css
    Original file line number Diff line number Diff line change
    @@ -6,8 +6,6 @@
    text-decoration: none;
    color: black;
    cursor: default;
    margin: 0;
    padding: 0;
    }

    h1::before { content: "# "; }
  5. @imjasonh imjasonh revised this gist Apr 6, 2015. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion markdown.css
    Original file line number Diff line number Diff line change
    @@ -5,7 +5,9 @@
    font-style: normal;
    text-decoration: none;
    color: black;
    cursor: default;
    cursor: default;
    margin: 0;
    padding: 0;
    }

    h1::before { content: "# "; }
  6. @imjasonh imjasonh revised this gist Apr 6, 2015. 1 changed file with 6 additions and 11 deletions.
    17 changes: 6 additions & 11 deletions markdown.css
    Original file line number Diff line number Diff line change
    @@ -5,27 +5,22 @@
    font-style: normal;
    text-decoration: none;
    color: black;
    cursor: default;
    margin: 0;
    padding: 0;
    cursor: default;
    }

    h1::before { content: "# "; }
    h2::before { content: "## "; }
    h3::before { content: "### "; }
    h4::before { content: "#### "; }
    h5::before { content: "##### "; }
    h6::before { content: "###### "; }
    strike::after, strike::before { content: "~~"; }
    i::before, i::after { content: "*"; }
    b::before, b::after { content: "**"; }
    ol, ul {
    list-style: none;
    padding-left: 0;
    }
    p::before, p::after { content: "\A"; white-space: pre; }
    ol::before, ul::before { content: "\A"; white-space: pre; }
    ol, ul { list-style: none; padding-left: 0; }
    ol li::before { content: "* "; }
    ul li::before { content: "1. "; }
    code::before, code::after { content: "`"; }
    pre::before { content:"\A```" attr(lang) "\A"; }
    pre::after { content:"\A```"; }
    pre::before, pre::after { content:"```"; }
    a::before { content: "["; }
    a::after { content: "](" attr(href) ")"; }
  7. @imjasonh imjasonh created this gist Apr 6, 2015.
    31 changes: 31 additions & 0 deletions markdown.css
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,31 @@
    * {
    font-size: 12pt;
    font-family: monospace;
    font-weight: normal;
    font-style: normal;
    text-decoration: none;
    color: black;
    cursor: default;
    margin: 0;
    padding: 0;
    }

    h1::before { content: "# "; }
    h2::before { content: "## "; }
    h3::before { content: "### "; }
    strike::after, strike::before { content: "~~"; }
    i::before, i::after { content: "*"; }
    b::before, b::after { content: "**"; }
    ol, ul {
    list-style: none;
    padding-left: 0;
    }
    p::before, p::after { content: "\A"; white-space: pre; }
    ol::before, ul::before { content: "\A"; white-space: pre; }
    ol li::before { content: "* "; }
    ul li::before { content: "1. "; }
    code::before, code::after { content: "`"; }
    pre::before { content:"\A```" attr(lang) "\A"; }
    pre::after { content:"\A```"; }
    a::before { content: "["; }
    a::after { content: "](" attr(href) ")"; }