Skip to content

Instantly share code, notes, and snippets.

@TheWebDevel
Last active January 12, 2026 15:28
Show Gist options
  • Select an option

  • Save TheWebDevel/450b58a2b7d0d74070acdf98c680cf94 to your computer and use it in GitHub Desktop.

Select an option

Save TheWebDevel/450b58a2b7d0d74070acdf98c680cf94 to your computer and use it in GitHub Desktop.
md
.markdown-content {
max-width: 900px;
margin: 0 auto;
font-size: 1rem;
line-height: 1;
}
/* Headings */
.markdown-content h1,
.markdown-content h2,
.markdown-content h3,
.markdown-content h4,
.markdown-content h5,
.markdown-content h6 {
font-weight: 600;
line-height: 1;
margin-top: 0.8em;
margin-bottom: 0.4em;
}
/* Paragraphs */
.markdown-content p {
margin: 0.3em 0;
line-height: 1;
}
/* Lists */
.markdown-content ul,
.markdown-content ol {
padding-left: 1.25em;
margin: 0.3em 0;
line-height: 1;
}
.markdown-content li {
margin: 0.2em 0;
line-height: 1;
}
/* Tables */
.markdown-content table {
width: 100%;
border-collapse: collapse;
margin: 1em 0;
font-size: 0.95rem;
line-height: 1;
}
.markdown-content th,
.markdown-content td {
padding: 0.4em 0.75em;
border-bottom: 1px solid;
vertical-align: top;
line-height: 1;
}
/* Code blocks */
.markdown-content pre {
padding: 0.8em 1em;
border-radius: 6px;
overflow-x: auto;
font-size: 0.9rem;
line-height: 1;
}
/* Inline code */
.markdown-content code {
font-size: 0.95em;
padding: 0.1em 0.3em;
border-radius: 4px;
line-height: 1;
}
/* Blockquotes */
.markdown-content blockquote {
padding-left: 1em;
margin: 0.6em 0;
border-left: 3px solid;
font-style: italic;
line-height: 1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment