Package to replace
to-gfm-code-block
Suggested replacement(s)
const toGfmCodeBlock = (str: string, lang?: string) => `${'```'}${lang ?? ''}\n${str}\n${'```'}`
or
const toGfmCodeBlock = (str: string, lang?: string) => `\`\`\`${lang ?? ''}\n${str}\n\`\`\``
Manifest type
micro-utility (tiny utility replaceable with native code or removal)
Rationale
Can be replaced by a simple util
Availability
No response
Code example (optional)
Package to replace
to-gfm-code-blockSuggested replacement(s)
or
Manifest type
micro-utility (tiny utility replaceable with native code or removal)
Rationale
Can be replaced by a simple util
Availability
No response
Code example (optional)