本地 prettier-code-formatter 思路,在浏览器本地用 Prettier 格式化 JavaScript、TypeScript、JSON、HTML、CSS、Markdown、YAML 等代码。