Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
/* Left-Align CSS for Obsidian (Live Preview) */
/* Required for use: Disable "Readable Line Length" (this snippet will replicate its function but more customizable) */
/* CodeMirror 6 changes some of the divs used for content in Obsidian, so this snippet just use the newest */
/* Live Preview */
.cm-content {
margin-left: 0;
max-width: 80%;
}
/* Reading Mode */
.markdown-preview-sizer.markdown-preview-section {
margin-left: 0;
max-width: 80%;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment