MarkDown 差分,表の表示
+ と - をソースの中で表示したい
解答 言語の箇所に diffを指定
const createText = () => { const p = document.getElementById('text'); const rnd = Math.floor(Math.random() * textLists.length); - p.textContent = textLists[rnd]; + textLists[rnd].split('').map(value => { + p.appendChild(value); + }) };
表を表示する
| TH | TH | | ---- | ---- | | TD | TD | | TD | TD |