Skip to content

Instantly share code, notes, and snippets.

@Kraballa
Created September 7, 2025 20:13
Show Gist options
  • Save Kraballa/cc3a95be69a36d8efca1c6bb857604a9 to your computer and use it in GitHub Desktop.
Save Kraballa/cc3a95be69a36d8efca1c6bb857604a9 to your computer and use it in GitHub Desktop.
Fix Obsidian Styling
/* maken lines wider, default 700px */
:root {
--file-line-width: 900px;
}
/* delete text scaling */
.markdown-source-view * {
font-size: var(--font-text-size) !important;
}
/* remove code block inlining */
.HyperMD-codeblock{
padding-left: 0 !important;
}
@Kraballa
Copy link
Author

Kraballa commented Sep 7, 2025

make obsidians "source view" actually view the source and not a wysiwyg abomination. they used to have this natively but removed it. fuck you obsidian.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment