Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

生成博文后图片不靠左侧对齐,默认居中了。 #537

Closed
Mr-KoPu opened this issue Jun 24, 2022 · 6 comments
Closed

生成博文后图片不靠左侧对齐,默认居中了。 #537

Mr-KoPu opened this issue Jun 24, 2022 · 6 comments

Comments

@Mr-KoPu
Copy link

Mr-KoPu commented Jun 24, 2022

图片

如图所示,本地预览图片直接居中了,我是通过![](01.jpg)插入的图片,怎么才能让图片左对齐呢?

@welcome
Copy link

welcome bot commented Jun 24, 2022

Thanks for opening this issue, maintainers will get back to you as soon as possible!

@Mr-KoPu
Copy link
Author

Mr-KoPu commented Jun 24, 2022

图片
Next 版本是8.12.1

@ljcbaby
Copy link
Member

ljcbaby commented Jun 24, 2022

hexo-renderer-marked 一直是居中的 如果需要自定义样式建议直接上html代码。

@Mr-KoPu
Copy link
Author

Mr-KoPu commented Jun 24, 2022

是在.md文件里插入html代码吗?每一张图片都需要设置靠左样式吗?感觉不是很方便啊,有没有改一次就行的呢?我是C/C++选手,这方面还是小白。感谢解答

@ljcbaby
Copy link
Member

ljcbaby commented Jun 24, 2022

自定义css?

@Mr-KoPu
Copy link
Author

Mr-KoPu commented Jun 24, 2022

自定义css?

好的,既然默认一直是居中的显示,那就不是我整的不对。我在想想办法吧,感谢你的解答。

@next-theme next-theme locked and limited conversation to collaborators Jun 24, 2022
@ljcbaby ljcbaby converted this issue into discussion #538 Jun 24, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Projects
None yet
Development

No branches or pull requests

3 participants