replaced anchor with hash
This commit is contained in:
parent
839831b17a
commit
b0ebf8d34c
|
@ -119,11 +119,13 @@ pre {
|
|||
.markdown-image img {
|
||||
max-width: 100%;
|
||||
}
|
||||
.anchor {
|
||||
font-size: 1rem;
|
||||
visibility: hidden;
|
||||
color:silver;
|
||||
.anchor {
|
||||
opacity: 0;
|
||||
/* color:silver; */
|
||||
transition: 200ms;
|
||||
}
|
||||
.anchor:hover {opacity: 1}
|
||||
|
||||
h1:hover a,
|
||||
h2:hover a,
|
||||
h3:hover a {
|
||||
|
|
|
@ -1 +1 @@
|
|||
<h{{ .Level }} id="{{ .Anchor | safeURL }}">{{ .Text | safeHTML }} <a href="#{{ .Anchor | safeURL }}" class="anchor">🔗</a></h{{ .Level }}>
|
||||
<h{{ .Level }} id="{{ .Anchor | safeURL }}">{{ .Text | safeHTML }} <a href="#{{ .Anchor | safeURL }}" class="anchor">#</a></h{{ .Level }}>
|
Loading…
Reference in New Issue