js裏將json顯示在div裏並高亮關鍵字

_syntaxHeightlight(json) { if (typeof json !== "string") { json = JSON.stringify(json, undefined, 2) } json = json.replace(/&/g, '&').replace(/</g, '<').replace(/>/
相關文章
相關標籤/搜索