deathau / psuedo-wysiwyg-obsidian-theme Goto Github PK
View Code? Open in Web Editor NEWA theme for Obsidian, which attempts to build out a pseudo-WYSIWYG-like experience (as much as custom CSS will allow).
License: The Unlicense
A theme for Obsidian, which attempts to build out a pseudo-WYSIWYG-like experience (as much as custom CSS will allow).
License: The Unlicense
Hi! I have been using this theme on my machine for some days (Obsidian v0.7.6), and have come up with a couple of tweaks to improve it. However, I am not familiar with SCSS, so cannot write a PR directly
Anyways:
/* plainer hr tags */
.CodeMirror-code > :not(.CodeMirror-activeline) .HyperMD-hr-bg {
visibility: visible;
content: "";
width: 100%;
height: 2px;
display: block;
background-color: var(--background-modifier-border);
margin: auto;
}
.cm-s-obsidian pre.HyperMD-hr {
/* nothing here */
}
/* avoid internal link */
.CodeMirror-code > :not(.CodeMirror-activeline) .HyperMD-list-line .cm-list-1:not(.cm-hmd-internal-link)::before,
.CodeMirror-code > :not(.CodeMirror-activeline) .HyperMD-list-line .cm-list-1::before {
/* 1st level ul bullet */
content: "โข";
padding-right: 0.2em;
}
/* show checkbox in editor */
.CodeMirror-code > :not(.CodeMirror-activeline) .HyperMD-list-line .cm-formatting-task + .cm-list-1::before {
content: "\02611";
}
/* indicate hyperlinked image */
.CodeMirror-code > :not(.CodeMirror-activeline) .cm-formatting-image ~ .cm-url {
font-size: 1.5em;
}
.CodeMirror-code > :not(.CodeMirror-activeline) .cm-formatting-image ~ .cm-url::after {
content: "\01f5bc";
display: inline-block;
position: absolute;
left: 0;
top: 0;
font-size: 0.8em;
}
/* blockquote left boarder */
.CodeMirror-code > :not(.CodeMirror-activeline) .HyperMD-quote {
border-left: 5px solid var(--background-modifier-border);
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.