MCPcopy Index your code
hub / github.com/panphora/overtype / parseBlockquote

Method parseBlockquote

src/parser.js:112–116  ·  view source on GitHub ↗

* Parse blockquotes * @param {string} html - HTML line to parse * @returns {string} Parsed blockquote

(html)

Source from the content-addressed store, hash-verified

110 * @returns {string} Parsed blockquote
111 */
112 static parseBlockquote(html) {
113 return html.replace(/^> (.+)$/, (match, content) => {
114 return `<span class="blockquote"><span class="syntax-marker">&gt;</span> ${content}</span>`;
115 });
116 }
117
118 /**
119 * Parse bullet lists

Callers 1

parseLineMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected