Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
jsx(raw: string): TransformResult {
return {
// discard frontmatter for source code display
content: raw.replace(FRONT_COMMENT_EXP, ''),
config: getYamlConfig(raw),
};
},
tsx(raw: string): TransformResult {