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

Improvements to hljs setup #5

Merged
merged 2 commits into from
Dec 11, 2018
Merged

Conversation

kgroat
Copy link
Collaborator

@kgroat kgroat commented Dec 11, 2018

I realized that since we're in a <pre> block, we shouldn't have to do any modifying of the code at all. In fact, it was causing problems when we were escaping things before we sent them to hljs; that's why you were seeing things not show up right when you didn't have spaces at the start of each line.

This should fix that as well as a couple of other issues I was seeing when I was running storybook on your branch.

@kgroat
Copy link
Collaborator Author

kgroat commented Dec 11, 2018

I even tested html-like stuff inside of strings within the code to make sure hljs dealt with them appropriately:
screen shot 2018-12-10 at 10 11 56 pm

@Pickra Pickra merged commit 99de81a into Pickra:master Dec 11, 2018
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.

None yet

2 participants