add header anchors
This commit is contained in:
parent
56e36f2aa1
commit
01d2ee91bf
|
@ -48,3 +48,15 @@ scattered about.
|
|||
}
|
||||
|
||||
PLUGINS = ['webassets']
|
||||
|
||||
MARKDOWN = {
|
||||
'extension_configs': {
|
||||
'markdown.extensions.codehilite': {'css_class': 'highlight'},
|
||||
'markdown.extensions.extra': {},
|
||||
'markdown.extensions.meta': {},
|
||||
'markdown.extensions.toc': {
|
||||
'anchorlink': True,
|
||||
},
|
||||
},
|
||||
'output_format': 'html5',
|
||||
}
|
||||
|
|
|
@ -122,6 +122,10 @@
|
|||
font-size: 16px;
|
||||
}
|
||||
|
||||
a.toclink, a.toclink:visited {
|
||||
color: #444444;
|
||||
}
|
||||
|
||||
a, a:visited {
|
||||
color: #2a7ae2;
|
||||
text-decoration: none;
|
||||
|
@ -191,6 +195,10 @@
|
|||
color: white !important;
|
||||
}
|
||||
|
||||
a.toclink, a.toclink:visited {
|
||||
color: white !important;
|
||||
}
|
||||
|
||||
a, a:visited {
|
||||
color: #409df2 !important;
|
||||
}
|
||||
|
|
|
@ -83,6 +83,13 @@ h1, h2, h3, h4, h5, h6 {
|
|||
}
|
||||
|
||||
|
||||
/**
|
||||
* Anchor links
|
||||
*/
|
||||
a.toclink, a.toclink:visited {
|
||||
color: $text-color;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Links
|
||||
|
|
Loading…
Reference in New Issue