We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f5488d5 commit 1bd5db7Copy full SHA for 1bd5db7
remark/utils.js
@@ -131,7 +131,7 @@ function hasLineHighlights(code) {
131
if (!/^>/m.test(code)) {
132
return false
133
}
134
- return code.split('\n').every((line) => line === '' || /^[> ] /.test(line))
+ return code.split('\n').every((line) => line === '' || line === '>' || /^[> ] /.test(line))
135
136
137
module.exports.highlightCode = function highlightCode(code, prismLanguage) {
0 commit comments