Format topic
This commit is contained in:
parent
307573830a
commit
1fe4c4d17e
4 changed files with 177 additions and 171 deletions
|
@ -329,6 +329,10 @@ function colorifyString(str, state = {}) {
|
|||
}
|
||||
|
||||
export default function colorify(blocks) {
|
||||
if (!blocks) {
|
||||
return blocks;
|
||||
}
|
||||
|
||||
const result = [];
|
||||
let colored;
|
||||
let state;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue