Skip to content

www.notion.so by gg-mmill

Screenshot of www.notion.so

Details

Authorgg-mmill

LicenseNo License

Categorynotion.so

Created

Updated

Size925 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Numbered headings for notion

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         www.notion.so
@version      20230830.07.57
@namespace    userstyles.world/user/gg-mmill
@description  Numbered headings for notion
@author       gg-mmill
@license      No License
==/UserStyle== */

@-moz-document url-prefix("https://www.notion.so/") {
body {
counter-set: headings1 headings2 headings3;
}

h2.notranslate[placeholder="Heading 1"] {
    counter-set: headings2;
}

h3.notranslate[placeholder="Heading 2"] {
    counter-set: headings3;
}


h2.notranslate[placeholder="Heading 1"]::before {
    counter-increment: headings1;
    content: counter(headings1, upper-roman) " ";
}
h3.notranslate[placeholder="Heading 2"]::before {
    counter-increment: headings2;
    content: counter(headings2) " ";
}
h4.notranslate[placeholder="Heading 3"]::before {
    counter-increment: headings3;
    content: counter(headings2) "." counter(headings3) ".";
}
}

Reviews

No reviews yet.