MCPcopy Create free account
hub / github.com/Xu22Web/tech-study-js / getHighlightHTML

Function getHighlightHTML

tech-study.js:2053–2057  ·  view source on GitHub ↗

* @description html高亮文本 * @param text * @returns

(text)

Source from the content-addressed store, hash-verified

2051 * @returns
2052 */
2053function getHighlightHTML(text) {
2054 // html
2055 const highlightHTML = `<span style="color: #1890ff">${text}</span>`;
2056 return highlightHTML;
2057}
2058/**
2059 * @description 二维码
2060 * @param src

Callers 4

getProgressHTMLFunction · 0.70
createModalFunction · 0.70
handleLoginFunction · 0.70
startTaskFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected