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.
1 parent 354fd1d commit db74e22Copy full SHA for db74e22
src/page.ts
@@ -187,4 +187,11 @@ function replaceExtraTags (html) {
187
$('blockquote').removeClass('.raw').each(function (_, elem) {
188
const p = $(elem).find('p')
189
p[0].innerHTML = replaceExtraTags(p[0].innerHTML);
190
+
191
+ // color tag in blockquote will change its left border color
192
+ const blockquoteColor = $(elem).find('.color')
193
+ blockquoteColor.each((key, value) => {
194
+ $(value).closest('blockquote').css('border-left-color', $(value).attr('data-color'))
195
+ })
196
})
197
0 commit comments