Skip to content

Markdown

Helper functions for working with Markdown.

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

Defined in: functions/markdown.ts:16

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”.

Parameter Type
filePath string
text string
markerName string
repoRoot string

Promise<void>