用模板字符串或者\转义换行
text = `c|x:1
|y:2
`
黄色是mark默认的,可以在spannode = document.createElement("mark");
底下加上
spannode.style.background='unset';
spannode.style.borderBottom='1px dashed blue';
用模板字符串或者\转义换行
text = `c|x:1
|y:2
`
黄色是mark默认的,可以在spannode = document.createElement("mark");
底下加上
spannode.style.background='unset';
spannode.style.borderBottom='1px dashed blue';