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
15
[markdown]
16
16
highlight_code = true
17
17
highlight_theme = "material-dark"
18
18
-
19
19
-
# smart_punctuation = true
18
18
+
smart_punctuation = false
20
19
bottom_footnotes = true
20
20
+
insert_anchor_links = "left"
21
21
22
22
[search]
23
23
index_format = "elasticlunr_json"
+9
sass/style.scss
···
119
119
color: var(--primary);
120
120
}
121
121
122
122
+
.zola-anchor {
123
123
+
text-decoration: none;
124
124
+
transition: color 0.5s ease;
125
125
+
color: var(--secondary);
126
126
+
&:hover {
127
127
+
color: var(--accent);
128
128
+
}
129
129
+
}
130
130
+
122
131
.dollcode {
123
132
transition: color 2s;
124
133
color: var(--accent);
+5
templates/anchor-link.html
···
1
1
+
<a
2
2
+
class="zola-anchor"
3
3
+
href="#{{ id }}"
4
4
+
aria-label="Anchor link for: {{ id }}"
5
5
+
>#</a>