Compare commits

..

1 Commits

Author SHA1 Message Date
0329610845
Use header Markdown decorations as anchor links 2019-06-29 19:02:59 -04:00
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,4 @@
import MarkdownIt from "markdown-it";
import StateCore from "markdown-it/lib/rules_core/state_core";
import MarkdownItAnchor from "markdown-it-anchor";
import slugify from "@sindresorhus/slugify";
import * as util from "./util";

View File

@ -98,6 +98,7 @@ article {
content: "#";
font-family: $monospace;
color: var(--accent-color);
user-select: none;
}
> a {
@ -134,6 +135,7 @@ article {
.header-anchor {
font-family: $monospace;
color: var(--accent-color);
user-select: none;
&::before, &::after { content: ""; }
}