Add hl shortcode for highlighting key phrases

To use: `{{< hl >}}highlighted quote{{< /hl >}}`
This commit is contained in:
George Cushen committed 2018-04-22 00:08:56 +01:00
1 parent 26cf02513b
commit e6b2f1d285
2 files changed
+10

No files matched your search

+9
View File
@@ -207,6 +207,11 @@ blockquote p:last-child {
}
}
.markup-quote {
background-color: transparent;
background-image: linear-gradient(to bottom, rgba(233, 231, 245, 1), rgba(233, 231, 245, 1));
}
.space-below {
margin-bottom: 50px;
}
@@ -1464,6 +1469,10 @@ body.dark {
border-color: rgb(68, 71, 90);
}
.dark .markup-quote {
background-image: linear-gradient(to bottom, rgba(233, 231, 245, 0.2), rgba(233, 231, 245, 0.2));
}
.dark #MathJax_Zoom {
background-color: rgb(68, 71, 90) !important;
}
+1
View File
@@ -0,0 +1 @@
<span class="markup-quote">{{ .Inner }}</span>