tangled
alpha
login
or
join now
da157.id
/
website
this repo has no description
0
fork
atom
overview
issues
pulls
pipelines
add header anchors
0xda157
2 months ago
00a80a1a
7650e396
+16
-2
3 changed files
expand all
collapse all
unified
split
config.toml
sass
style.scss
templates
anchor-link.html
+2
-2
config.toml
···
15
[markdown]
16
highlight_code = true
17
highlight_theme = "material-dark"
18
-
19
-
# smart_punctuation = true
20
bottom_footnotes = true
0
21
22
[search]
23
index_format = "elasticlunr_json"
···
15
[markdown]
16
highlight_code = true
17
highlight_theme = "material-dark"
18
+
smart_punctuation = false
0
19
bottom_footnotes = true
20
+
insert_anchor_links = "left"
21
22
[search]
23
index_format = "elasticlunr_json"
+9
sass/style.scss
···
119
color: var(--primary);
120
}
121
0
0
0
0
0
0
0
0
0
122
.dollcode {
123
transition: color 2s;
124
color: var(--accent);
···
119
color: var(--primary);
120
}
121
122
+
.zola-anchor {
123
+
text-decoration: none;
124
+
transition: color 0.5s ease;
125
+
color: var(--secondary);
126
+
&:hover {
127
+
color: var(--accent);
128
+
}
129
+
}
130
+
131
.dollcode {
132
transition: color 2s;
133
color: var(--accent);
+5
templates/anchor-link.html
···
0
0
0
0
0
···
1
+
<a
2
+
class="zola-anchor"
3
+
href="#{{ id }}"
4
+
aria-label="Anchor link for: {{ id }}"
5
+
>#</a>