-
-
Notifications
You must be signed in to change notification settings - Fork 136
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
Syntax highlighting is broken #279
Comments
Not good. ed: Want me to dig into this? I think we're using a fairly antiquated themeing system, but I havn't dug into it. |
Well any idea is welcome. I just tried locally witht |
I tested the latest master branch (4a8e828) on my machine with the following command:
And it does not work. |
By the way, just some random thoughts - I am using Hugo for my personal blog. It works well with both Markdown and Org. Yes, I can write Org file which will be rendered properly. And it is much faster. I am not sure if you are interested with it... |
@sheepduke While I’m also a big fan of org mode (which allows consistent technical documentation easier), the only platform org works is in Emacs. People not using Emacs shouldn’t be a second-class user/contributor. |
On 2019-12-02 06:36, 조성빈 ***@***.***> wrote:
@sheepduke While I’m also a big fan of org mode (which allows consistent technical documentation easier), the only platform org works is in Emacs. People not using Emacs shouldn’t be a second-class user/contributor.
Markdown has a much universal support.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#279 (comment)
Well, you are right.
It is just the number of people who writes Common Lisp without Emacs is
rather minority.
Referring to the issue itself, it might because of missing highlight.js
file?
|
Is it missing?? It shouldn't be, it was included before. thanks for the report. It's true that Hugo is much faster. I'd be in favor of this change (specially if we improve the look and feel in the process?). |
On 2019-12-02 08:21, vindarel ***@***.***> wrote:
> Referring to the issue itself, it might because of missing highlight.js
file?
Is it missing?? It shouldn't be, it was included before.
OK, I found the file.
It is placed here: `./assets/highlight-lisp.js`
I found that GitHub Pages is using jekyll-3.8.5 and our Gemfile declares
`gem 'jekyll', '>= 3.6.3'`.
https://pages.github.com/versions/
But if I change it to `gem 'jekyll', '>= 3.8.5'` and run `bundle exec
jekyll serve`, it still does not work.
But my global jekyll, which is also 3.8.5 version, works.
So I did some experiments:
bundle global jekyll
master No Yes
83238bc No Yes
It seems that it is the problem with bundle, not our configuration.
I have no idea how to fix it then. :-(
It's true that Hugo is much faster. I'd be in favor of this change (specially if we improve the look and feel in the process?).
From my personal experience, I would say Hugo is much more convenient
compared to Jekyll.
I wrote my experience when setting up my blog.
http://sheepduke.com/posts/2019-05-11_use-hugo-to-setup-personal-blog/
Here is a list of themes with `documentation` tag:
https://themes.gohugo.io/tags/documentation/
|
I could reproduce and break my local syntax highlighting by updating the gems (I had to delete Gem.lock and google a bit). Now it seems that the generated HTML changed a bit. Code blocks are:
it's HighlightLisp wants
A couple attempts of mine only messed things worst so far. It's said that Jekyll supports CL highlighting with "fenced blocks" (aka triple backquotes), but I can't make them work either. |
I pinned Jekyll to 3.6.3, it works locally with bundle exe, but it doesn't when pushed to gh-pages. It seems that Jekyll 3.6.8 does the syntax highlighting of our code snippets, thus transforming them into inner html nodes, and as a consequence HighlightLisp cannot find strings to replace. gh-pages don't seem to obey the Gem file. edit no they don't. I think we have to disable the syntax highlighting, but I didn't find how. |
Can’t we use another lisp static site generator? |
I guess we can. |
fixed by 61180f1 The highlighting is less good than HighlightLisp though. |
We're back with the good syntax highlighting. |
for #279 > The page build completed successfully, but returned the following warning for the `gh-pages` branch: > You are attempting to use the 'none' highlighter, which is currently unsupported on GitHub Pages. Your site will use 'rouge' for highlighting instead. To suppress this warning, change the 'highlighter' value to 'rouge' in your '_config.yml' and ensure the 'pygments' key is unset. For more information, see https://help.github.com/en/github/working-with-github-pages/troubleshooting-jekyll-build-errors-for-github-pages-sites#fixing-highlighting-errors.
Hello guys,
The syntax highlighting is broken. It worked today on my out-of-date gh-pages branch, and it doesn't anymore that I rebased on master.
The text was updated successfully, but these errors were encountered: