MCPcopy
hub / github.com/infinitered/ignite / markupComment

Function markupComment

src/tools/markup.ts:16–17  ·  view source on GitHub ↗
(prefix: string, commentType: MarkupComments)

Source from the content-addressed store, hash-verified

14// markup comments follow format:
15// // @prefix ActionName
16export const markupComment = (prefix: string, commentType: MarkupComments) =>
17 `${prefix} ${commentType}`
18
19export const markupRegex = (prefix: string) => {
20 const pattern = `(\\/\\/|#)\\s*${prefix}.*|{?\\/.*${prefix}.*\\/}?`

Callers 3

markup.test.tsFile · 0.90
updateFileFunction · 0.85
updateFilesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected