feat: add md render timing and fish language support

This commit is contained in:
mitchell 2026-04-18 02:28:03 -04:00
parent 20f0c7970a
commit 27c6447ef2
2 changed files with 10 additions and 9 deletions

View file

@ -149,8 +149,15 @@ export default class Renderer {
if (this.isPlain) return;
const [columns] = process.stdout.getWindowSize();
const start = Date.now();
const rendered = await renderMarkdown(text, columns);
const stop = Date.now();
this.write("\n");
this.write(await renderMarkdown(text, columns));
this.write(rendered);
this.write("\n");
process.stderr.write(chalkStderr.dim(`Markdown: ${stop - start}ms, `));
}
}