Skip to content

Instantly share code, notes, and snippets.

@malys
Created August 21, 2025 17:54
Show Gist options
  • Save malys/68194c7654f9e2ede85fe2876291c481 to your computer and use it in GitHub Desktop.
Save malys/68194c7654f9e2ede85fe2876291c481 to your computer and use it in GitHub Desktop.
[dark style] #silverbullet
pageDecoration
prefix disableTOC
🎄
true

Source

html {
  --ui-font: ui-sans-serif, sans-serif !important;
  --editor-font: ui-sans-serif, sans-serif !important;
  --editor-width: 1100px !important;
  line-height: 1 !important;
}

.markmap {
  --markmap-text-color: #BBDEFB !important;
}

#sb-main .cm-editor {
  font-size: 15px;
  margin-top: 2rem;
}

.sb-line-h1 {
  font-size: 1.8em !important;
  color: #ee82ee !important;
}
.sb-line-h2 {
  font-size: 1.6em !important;
  color: #6a5acd !important;
}
.sb-line-h3 {
   font-size: 1.4em !important;
  color: #4169e1 !important;
}
.sb-line-h4 {
  font-size: 1.2em !important;
  color: #008000 !important;
}
.sb-line-h5 {
  font-size: 1em !important;
  color: #ffff00 !important;
}
.sb-line-h6 {
  font-size: 1em !important;
  color: #ffa500 !important;
}


.sb-line-h1::before {
  content: "h1";
  margin-right: 0.5em;
  font-size: 0.5em !important;
}

.sb-line-h2::before {
  content: "h2";
  margin-right: 0.5em;
  font-size: 0.5em !important;
}

.sb-line-h3::before {
  content: "h3";
  margin-right: 0.5em;
  font-size: 0.5em !important;
}

.sb-line-h4::before {
  content: "h4";
  margin-right: 0.5em;
  font-size: 0.5em !important;
}

.sb-line-h5::before {
  content: "h5";
  margin-right: 0.5em;
  font-size: 0.5em !important;
}

.sb-line-h6::before {
  content: "h6";
  margin-right: 0.5em;
  font-size: 0.5em !important;
}


.sb-code {
  color: grey !important;
}
.sb-emphasis {
  color: darkorange !important;
}
.sb-strong {
  color: salmon !important;
}

.tree__label > span {
    padding: 0 5px;
    font-size: 11px;
    line-height: 1.2;
}

.treeview-root { --st-label-height: auto; --st-subnodes-padding-left: 0.1rem; --st-collapse-icon-height: 2.1rem; --st-collapse-icon-width: 1.25rem; --st-collapse-icon-size: 1rem; }

1

2

3

4

5
6

code

emphasis

strong

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