MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / addPlaceholder

Function addPlaceholder

src/ifcchat/app.js:222–226  ·  view source on GitHub ↗
(html)

Source from the content-addressed store, hash-verified

220function renderInlineMarkdown(text) {
221 const placeholders = [];
222 const addPlaceholder = (html) => {
223 const token = `@@MD${placeholders.length}@@`;
224 placeholders.push({ token, html });
225 return token;
226 };
227
228 let rendered = text;
229

Callers 1

renderInlineMarkdownFunction · 0.85

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected