highlight linenos does not work on distill post? #629
Unanswered
gladscortes
asked this question in
Q&A
Replies: 1 comment
-
Same thing is happening for me as well. Also, fortran highlight isn't working in distill mode but works on post mode. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm new to github pages and jekyll
On the sample DISTILL post (/blog/2021/distill/), I changed the code FROM
{% highlight javascript %}
var x = 25;
function(x) {
return x * x;
}
{% endhighlight %}
TO
{% highlight javascript linenos %}
var x = 25;
function(x) {
return x * x;
}
{% endhighlight %}
AND the rendered result was a code block that looks like
+------------------------------------------------------+
1
2
3
4
var x = 25;
function(x) {
return x * x;
}
+------------------------------------------------------+
ON both Brave and Safari browsers (using macOS 12.3.1)
ALSO, syntax highlighting doesn't seem to work for R on the distill post:
all the code was rendered purple.
meanwhile, syntax highlighting works fine on the "post" layout
any suggestions? for
Thanks
Beta Was this translation helpful? Give feedback.
All reactions