Skip to content

Instantly share code, notes, and snippets.

@pagpeter
Created October 24, 2024 21:53
Show Gist options
  • Save pagpeter/943fd3ce7e31aad52c3d582e4377e715 to your computer and use it in GitHub Desktop.
Save pagpeter/943fd3ce7e31aad52c3d582e4377e715 to your computer and use it in GitHub Desktop.
Obsidian CSS snipped to get cornell-style notes when exported to PDF
ul, h1, h2, h3, h4, h5, h6, strong, table {
max-width: var(--file-line-width);
margin-right: auto;
margin-left: 140px;
width: 100%;
max-width: 80vw;
}
[data-callout="cue"] {
position: absolute;
left: 10px;
width: 150px;
padding-left: 10px !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment