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

Line breaks #4

Closed
freakyy85 opened this issue Feb 1, 2014 · 4 comments
Closed

Line breaks #4

freakyy85 opened this issue Feb 1, 2014 · 4 comments

Comments

@freakyy85
Copy link

On my website http://freakyonline.de/2014/02/01/mycoffee-for-helzi/ it breaks code onto a new line when the available space becomes too small. is there any possibility to make it better like, put \s or something? or maybe a open sourcecode in new page?

@AndiDittrich
Copy link
Member

Hi feakyy85,
this behaviour is proposed - otherwise the plugin will break your page layout, therefore the text will automatically fitted into the outer container dimension. i don't believe there is a better solution available ?
currently, there is an optional toolbar in development which allows the end-user to display the highlighted code within a new page.

possible solutions

  • Reduce the tab-width (indent) to 2 spaces
  • add manual line breaks
  • increase the width of your contents area
  • choose a smaller font-size

best regards, Andi

@TraumaER
Copy link

TraumaER commented Feb 1, 2014

Possibly set overflow to auto on the container?
On Feb 1, 2014 12:49 PM, "Andi Dittrich" notifications@github.com wrote:

Hi feakyy85,
this behaviour is proposed - otherwise the plugin will break your page
layout, therefore the text will automatically fitted into the outer
container dimension. i don't believe there is a better solution available ?
currently, there is an optional toolbar in development which allows the
end-user to display the highlighted code within a new page.

possible solutions

  • Reduce the tab-width (indent) to 2 spaces
  • add manual line breaks
  • increase the width of your contents area
  • choose a smaller font-size

best regards, Andi

Reply to this email directly or view it on GitHubhttps://github.com//issues/4#issuecomment-33879978
.

@freakyy85
Copy link
Author

ok, thank you :)

@freakyy85 freakyy85 reopened this Feb 1, 2014
@freakyy85
Copy link
Author

sorry didnt want to close some1 else also said smth

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