feat: add autolink headings.

This commit is contained in:
jaywcjlove
2022-09-30 23:18:13 +08:00
parent 7a3e78bd93
commit 617a46c1a5
4 changed files with 88 additions and 74 deletions

View File

@ -318,6 +318,13 @@ a.text-grey {
color: rgb(148 163 184/1);
}
body:not(.home) .h2wrap > h2 a::after {
content: '#';
padding-right: 0.5rem;
--tw-text-opacity: 1;
color: rgb(16 185 129/var(--tw-text-opacity));
}
.wrap-header.h3wrap {
z-index: 0;
display: flex;