readme
tip
这里是文档的一些初始化信息
官方文档:安装 | Docusaurus
这里是表情符号词典 📓 | EmojiAll 中文官方网站
搜索插件:easyops-cn/docusaurus-search-local: Offline/local search for Docusaurus v2
图片插件:
icon 主题插画:iconma - iconfont-阿里巴巴矢量图标库
在线插画下载:
部署说明
- 部署 | Docusaurus
- docusaurus 搭建博客,利用 GitHub Actions 自动部署 GitHub Pages - 掘金
- 参考站点:
- yingwinwin/yingwinwin.github.io
注意事项
Docusaurus CRLF to LF
- 问题描述
markdown h1 header render error on windows and macos · Issue #7120 · facebook/docusaurus https://github.com/facebook/docusaurus/issues/7120
问题原因
Git 在维护版本库的时候统一使用的是 LF,这样就可以保证文件跨平台的时候保持一致。 在 Linux 下默认的换行符是 LF。 在 Windows 下默认的换行符是 CRLF,需要保证在文件提交到版本库的时候文件的换行符是 LF。
解决方案
You should change all your CRLF to LF for the time being. In vs code the config is at the bottom right.
# 查看配置
git config --global core.autocrlf
# 设置 crlf 为 false
git config --global core.autocrlf false设置 vscode 默认换行为
\n
(即:LF):文件 → 首选项 → 设置参考链接