Skip to main content

functions/markdown

Functions

setMarkdownContentInsideHTMLMarker()

function setMarkdownContentInsideHTMLMarker(
filePath,
text,
markerName,
repoRoot): Promise<void>

Helper function to insert text inside of a Markdown text file.

For example, if a "README.md" file has two lines containing "" and "", then you would call this function with a marker name of "RULES_TABLE".

Parameters

ParameterType
filePathstring
textstring
markerNamestring
repoRootstring

Returns

Promise<void>

Defined in

functions/markdown.ts:10