Skip to content

Adding word-wrap support #14

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

Closed
wants to merge 2 commits into from
Closed

Adding word-wrap support #14

wants to merge 2 commits into from

Conversation

lerminou
Copy link

@lerminou lerminou commented Feb 27, 2017

Hi,

I'm trying to add the wrapping funciton to avoid lines without line-numbers

You can see the result here :
http://jsfiddle.net/sLLwtwbL/2/

When resizing the window, the gutter is updated.

It resolves the defect #4 and #13

Please add the following style in your css sheet:

.hljs-line{ display: inline; }

@W3D3
Copy link

W3D3 commented May 12, 2017

Your jsfiddle doesn't seem to work on Chrome/Edge. Firefox works fine.

@wcoder wcoder closed this May 31, 2017
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

Successfully merging this pull request may close these issues.

3 participants