Skip to content

Commit fbeac6e

Browse files
fix: remove leading $ in examples
1 parent 1092cb0 commit fbeac6e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/markdown/command.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ export class MarkdownCommand extends MarkdownBase {
136136
}
137137
for (const cmd of example.commands) {
138138
lines.push('```shell');
139-
lines.push(cmd.trim());
139+
lines.push(cmd.trim().replace(/^\$\s*/, ''));
140140
lines.push('```');
141141
lines.push('');
142142
}

0 commit comments

Comments
 (0)