Skip to content

Instantly share code, notes, and snippets.

@rodrigocfd
Created November 17, 2017 11:51
Show Gist options
  • Select an option

  • Save rodrigocfd/e53a5f9b8d138f55b6f81c4379731985 to your computer and use it in GitHub Desktop.

Select an option

Save rodrigocfd/e53a5f9b8d138f55b6f81c4379731985 to your computer and use it in GitHub Desktop.
GitHub CSS markdown for Visual Studio Code.
/**
* Save this file and tell VSCode to use it:
* "markdown.styles": ["/home/your_name/.config/Code/User/github-markdown.css"]
*/
body {
font-family: Arial;
font-size: 16px;
margin-top: 18px;
color: #24292e;
}
h1, h2, h3 {
font-weight: 600;
line-height: 1.25;
margin-top: 24px;
margin-bottom: 16px;
padding-bottom: .3em;
}
h1, h2 {
border-bottom: 1px solid #eaecef;
}
h1 { font-size: 2em; }
h2 { font-size: 1.5em; }
h3 { font-size: 1.25em; }
h4 { font-size: 16px; }
h5 { font-size: 14px; }
h6 { font-size: 12px; }
p {
line-height: 1.5;
margin-top: 0;
margin-bottom: 16px;
}
pre, code {
font-family: "SFMono-Regular",Consolas,"Liberation Mono",Menlo,Courier,monospace;
font-size: 10pt;
}
pre {
margin: 0;
}
p code {
padding: .2em .4em;
background-color: rgba(27,31,35,.05);
line-height: 1.5;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment