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 aed7b1f commit 6b9d4c3Copy full SHA for 6b9d4c3
assets/sass/style.scss
@@ -358,3 +358,11 @@ body.page {
358
width: 65%;
359
}
360
361
+.markdown-important::before {
362
+ content:url('img/important.svg');
363
+ padding-left: 0.6em;
364
+ padding-right: 0.2em;
365
+}
366
+.markdown-important {
367
+ border-left: .25em solid #f34f29;
368
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