MCPcopy Create free account
hub / github.com/getgridea/gridea / formatYamlString

Function formatYamlString

src/helpers/utils.ts:7–9  ·  view source on GitHub ↗
(string: any)

Source from the content-addressed store, hash-verified

5 * eg. true, false, 1, [, ], {, }, ,, #, <, >, @,
6 */
7export function formatYamlString(string: any) {
8 return string.replace(/'/g, '\'\'')
9}
10
11
12export const formatThemeCustomConfigToRender = (config: any, currentThemeConfig: any) => {

Callers 2

savePostsMethod · 0.90
savePostToFileMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected