Skip to content

Commit cb558ea

Browse files
committed
Add (Recommended) to static code snippets for markdown
1 parent 8e935f2 commit cb558ea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/plugins/process-markdown.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ async function transformStatic2Dynamic(content: string): Promise<string> {
293293
const langTag = m.lang || 'js';
294294
const metaSuffix = cleanMeta ? ` ${cleanMeta}` : '';
295295

296-
const staticSection = `**Static:**\n\n\`\`\`${langTag}${metaSuffix}\n${m.code}\`\`\``;
296+
const staticSection = `**Static (Recommended):**\n\n\`\`\`${langTag}${metaSuffix}\n${m.code}\`\`\``;
297297
const dynamicSection = `**Dynamic:**\n\n\`\`\`${langTag}${metaSuffix}\n${dynamicCode}\n\`\`\``;
298298

299299
return {

0 commit comments

Comments
 (0)