Loading…
Sign in to reply.
Testing TypeScript, Python, and shell highlighting plus link cards.
TypeScript:
type Reaction = { key: string; count: number };
function react(r: Reaction): string {
return `${r.key}: ${r.count}`;
}
Python:
def greet(name: str) -> str:
return f"hello {name}"
print(greet("thready"))
Shell:
git fetch origin && git log -3 --oneline
echo "done"
Links to preview: