-
Notifications
You must be signed in to change notification settings - Fork 25.8k
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
There is some conflicts using {% hightlight %} with minimal #512
Comments
It's weird .
3.copy Liquid Exception: Liquid syntax error (line 1): 'highlight' tag was never closed in /home/new-github-blog/_posts/2016-09-09-just-code.md/#excerpt |
Could be due to the spaces.
I stopped using Jekyll's |
If removing the spaces doesn't work it could also be due to how Jekyll deals with excerpts. If you don't define Entirely possible it has issues processing the
|
It works for me to remove the spaces. But the code block still align right. . . |
Can you provide a screenshot? I've tested in a few browsers and I'm not seeing anything aligned to the right. |
Oh, yeah , It is related to the browser. |
OK I see it now. For whatever reason Firefox doesn't stretch the Adding I want to cleanup some other things related to line number styling so there will be a proper fix [#513] with those updates eventually. |
Fixed. You can reference this commit 3c034e5 with the necessary SCSS to cleanup the alignment and make line numbers look better. Example: |
- Fix alignment in issues in Firefox - Remove table borders from `linenos` - Harmonize padding and font-sizes - Close mmistakes#513 and close mmistakes#512
- Fix alignment in issues in Firefox - Remove table borders from `linenos` - Harmonize padding and font-sizes - Close mmistakes#513 and close mmistakes#512
bundle update
.bundle exec jekyll build
.Environment informations
github-pages
orjekyll
gem version: github-pagesExpected behavior
Expected code in
{% highlight %}
aligns left but aligns right .Steps to reproduce the behavior
layout: compress
in my_layout/defaults.html
```
for code block is normal{% highlight %}
for code block will make the code align right.Here is the result page:
https://geekbanana.github.io/android/handler/creating-teminal/
Here is the code:
https://github.com/geekbanana/geekbanana.github.io/blob/master/_posts/android/handler/2016-09-09-creating-teminal.md
The text was updated successfully, but these errors were encountered: