Skip to content

Commit 3aaa6b3

Browse files
Update md headlines. (#1105)
<!-- ![image](https://github.com/user-attachments/assets/9243ae97-c17a-4927-930c-ed2fc1e65f3b) --> ![image](https://github.com/user-attachments/assets/df42570a-bc76-4471-b368-020b477877e3) --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 574855f commit 3aaa6b3

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

astro.config.mjs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,7 @@ export default defineConfig({
4848
[
4949
rehypeAutolinkHeadings,
5050
{
51-
behavior: "append",
52-
content() {
53-
return [h("span.heading-link", "#")];
54-
},
51+
behavior: "wrap",
5552
},
5653
],
5754
],

src/styles/global.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,15 @@ body {
5454
text-decoration: none !important;
5555
}
5656

57+
.prose :is(h1, h2, h3, h4, h5, h6) a:hover {
58+
text-decoration: underline !important;
59+
}
60+
61+
.prose :is(h1, h2, h3, h4, h5, h6) a:focus {
62+
outline: 4px solid #0073e6;
63+
outline-offset: 5px;
64+
}
65+
5766
ul.milestone-done li {
5867
position: relative;
5968
list-style: none;

0 commit comments

Comments
 (0)