Skip to content

Instantly share code, notes, and snippets.

@emisjerry
Last active November 22, 2021 12:21
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save emisjerry/36d1d115ae22cd0902fc528875f86414 to your computer and use it in GitHub Desktop.
Save emisjerry/36d1d115ae22cd0902fc528875f86414 to your computer and use it in GitHub Desktop.
Obsidian.md 項目符號線條樣式
/*=== Remove Yaml header from embeds ===*/
/* Remove embed yaml first separator */
.markdown-embed-content > hr:first-child { display: none; }
/* Remove embed yaml content */
.markdown-embed-content > hr:first-child + h2 { display: none; }
/* Remove embed yaml second separator (if empty) */
.markdown-embed-content > hr:first-child + hr { display: none; }
/* Remove embed yaml second separator */
.markdown-embed-content > hr:first-child + h2 + hr { display: none; }
/*=== Bullet Point Relationship Lines ===*/
.cm-hmd-list-indent, ul ul {
position: relative;
}
.cm-hmd-list-indent::before, ul ul::before {
content:'';
border-left: 1px solid rgba(0, 122, 255, 0.55);
position: absolute;
}
.cm-hmd-list-indent::before {
left: 0;
top: -5px;
bottom: -4px;
}
ul ul::before {
left: -11px;
top: 0;
bottom: 0;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment