You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using code fences (``` ```) we do not see code syntax highlighting when building locally. This has something to do with using jekyll 4.2 directly instead of the gh-pages gem. It would be nice to have this preview.
@mattxwang Is it possibly because you're using Ruby 3 rather than Ruby 2.7? What's your browser + OS?
I tried adding all the missing gems from the gh-pages-based Gemfile to a 4.2-based Gemfile, to see whether that would magically make the code-fences-based code blocks start highlighting successfully in the local Jekyll installation. Unfortunately, no dice. I'm not sure why 4.2 doesn't highlight code fenced code locally. But the fact that it does it successfully on the live site is good enough for me, for now. This issue is definitely low priority in my view.
When using code fences (``` ```) we do not see code syntax highlighting when building locally. This has something to do with using jekyll 4.2 directly instead of the gh-pages gem. It would be nice to have this preview.
In the interim, adding a note to code editing.
The text was updated successfully, but these errors were encountered: