Format topic

This commit is contained in:
Ken-Håvard Lieng 2020-06-30 13:28:51 +02:00
parent 307573830a
commit 1fe4c4d17e
4 changed files with 177 additions and 171 deletions

View file

@ -329,6 +329,10 @@ function colorifyString(str, state = {}) {
}
export default function colorify(blocks) {
if (!blocks) {
return blocks;
}
const result = [];
let colored;
let state;