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

Blog: markdown layouts bug with auto line-break #778

Open
zeakey opened this Issue May 27, 2018 · 4 comments

Comments

Projects
None yet
2 participants
@zeakey

zeakey commented May 27, 2018

Hi all,
Does anybody encounter this bug: in my blog artical the markdown code markup "``" cannot automatically
break line when it is extremely long.

tim 20180527080801

I have changed several themes and the problem is still there.
Everything works well in my note, it is just a matter with the blog artical.

@jim3ma

This comment has been minimized.

jim3ma commented May 28, 2018

Okay, I can reproduce this bug, I will try to fix this.

@jim3ma

This comment has been minimized.

jim3ma commented May 28, 2018

The css code: white-space: nowrap; is the root cause. We need some changes for all themes or default bootstrap css.

@jim3ma

This comment has been minimized.

jim3ma commented May 28, 2018

@zeakey
You can add

code {
    white-space: normal;
}

into style.css for the theme which you use.

@zeakey

This comment has been minimized.

zeakey commented May 28, 2018

@jim3ma
Thanks for your kind reply!
white-space: normal; has solved my problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment