/github-markdown-css

The minimal amount of CSS to replicate the GitHub Markdown style

Primary LanguageHTMLMIT LicenseMIT

github-markdown-css

The minimal amount of CSS to replicate the GitHub Markdown style (only monospace font)

jsDelivr -> https://cdn.jsdelivr.net/gh/neelabalan/github-markdown-css@main/github-markdown.css

<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="github-markdown.css">
<style>
	.markdown-body {
		box-sizing: border-box;
		min-width: 200px;
		max-width: 980px;
		margin: 0 auto;
		padding: 45px;
	}

	@media (max-width: 767px) {
		.markdown-body {
			padding: 15px;
		}
	}
</style>
<article class="markdown-body">
	<h1>Unicorns</h1>
	<p>All the things</p>
</article>