Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker部署,md换行异常 #26

Open
haha4445 opened this issue Dec 28, 2022 · 3 comments
Open

docker部署,md换行异常 #26

haha4445 opened this issue Dec 28, 2022 · 3 comments

Comments

@haha4445
Copy link

image
如图,左侧为本地使用typora显示正常,右侧为docker部署项目的网页端,换行样式出现问题暂时未明确问题所在,控制台无报错信息。

@jmszg
Copy link

jmszg commented Dec 29, 2022

我感觉应该是md文件转html的问题,我也遇到过

@haha4445
Copy link
Author

尝试用 vscode 新建一个 md 文件不通过 typora 软件进行编辑,该问题依旧。不清楚是markdown-blog 的 docker版本部署或运行有问题还是什么原因

@dianso
Copy link
Contributor

dianso commented Apr 4, 2023

尝试用 vscode 新建一个 md 文件不通过 typora 软件进行编辑,该问题依旧。不清楚是markdown-blog 的 docker版本部署或运行有问题还是什么原因

是换行符号问题,换行符只支持unix(lf),不支持windows(crlf)的。

你用notepadnext这类编辑器强行把换行符转换成unix形式的就好了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants