Function: stripLeadingHtmlMarker()¶
stripLeadingHtmlMarker(
body):string
Defined in: core/src/utils/markers.ts:73
Remove a leading PromptScript HTML marker from a markdown body.
Only a marker at the very top of the body is removed, so markers documented inside prose are preserved.
Parameters¶
body¶
string
Markdown body content
Returns¶
string
Body without a leading marker line