Skip to main content

Markdown

Helper functions for working with 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

packages/complete-node/src/functions/markdown.ts:16