MCPcopy
hub / github.com/wandb/openui / newChapter

Function newChapter

frontend/src/lib/markdown.ts:12–14  ·  view source on GitHub ↗
(prompt: string)

Source from the content-addressed store, hash-verified

10}
11
12export function newChapter(prompt: string) {
13 return `\n\n---\nprompt: ${prompt}\n---\n\n`
14}
15
16export function fixHTML(html: string) {
17 // Replace any gray styles with zinc, fix placeholder images

Callers 1

PromptFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected