Skip to content

Latest commit

 

History

History
37 lines (30 loc) · 517 Bytes

Icon before headings.md

File metadata and controls

37 lines (30 loc) · 517 Bytes

Collection

Icon before headings


  • author:: rushi
  • source::

You can change § with something else.

cover::

:is(
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    .HyperMD-header-1,
    .HyperMD-header-2,
    .HyperMD-header-3,
    .HyperMD-header-4,
    .HyperMD-header-5,
    .HyperMD-header-6
  )::before {
  content: "§ ";
  font-size: 0.7em;
  vertical-align: middle;
  color: var(--text-accent);
  font-weight: 500;
}