mirror of
https://github.com/sern-handler/automata
synced 2026-06-20 23:02:20 +00:00
* refactor: initial monorepo * chore: remove accidentally commited repos * chore: remove accidentally commited repos * feat: more progress * feat: finally monorepo done * feat: move away from pocketbase * fix: seren's reviews and schema frontend login errors * fix: for some reason didn't remove await lol
4 lines
230 B
TypeScript
4 lines
230 B
TypeScript
// definitely not stolen from discord.js :clueless:
|
|
export function codeBlock(language: string, content?: string): string {
|
|
return content === undefined ? `\`\`\`\n${language}\n\`\`\`` : `\`\`\`${language}\n${content}\n\`\`\``;
|
|
} |