We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
![IMPORTANT]
1 parent b262811 commit 3ed136bCopy full SHA for 3ed136b
assets/sass/style.scss
@@ -362,3 +362,11 @@ body.page {
362
width: 65%;
363
}
364
365
+.markdown-important::before {
366
+ content:url('img/important.svg');
367
+ padding-left: 0.6em;
368
+ padding-right: 0.2em;
369
+}
370
+.markdown-important {
371
+ border-left: .25em solid #f34f29;
372
layouts/_default/single.html
@@ -1,3 +1,3 @@
1
{{ define "main" }}
2
-{{ .Content }}
+{{ replace .Content "<p>[!IMPORTANT]" "<p class=\"markdown-important\">" | safeHTML }}
3
{{ end }}
static/img/important.svg
0 commit comments