製作 format 函數,符合 python 等 函數用法
由 chinese-conv 修改,添加 types 及修改部分程式
A React component for the GitHub repository card