Module: utils/string
Table of contents
Functions
Functions
capitalizeFirstLetter
▸ capitalizeFirstLetter(text
): string
Parameters
Name | Type |
---|---|
text | string |
Returns
string
Defined in
utils/string.ts:1 (opens in a new tab)
replaceImagePlaceholders
▸ replaceImagePlaceholders(markdown
, images
): string
Parameters
Name | Type |
---|---|
markdown | string |
images | { filePath : string ; id : string }[] |
Returns
string