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
Parameter | Type |
---|---|
filePath | string |
text | string |
markerName | string |
repoRoot | string |
Returns
Promise
<void
>