Comments (7)
Getting the same issue here. Anyone managed to solve this?
from dactl.
yeeaa... me too.. same issue. anyone can help?
from dactl.
I think nobody has been able to fix this. Maybe I can dive in and try to fix it :)
Some guidance would be amazing tho, @melangue. Thanks in advance!
from dactl.
Simple update, I have found that the error is actually a problem happening just during the GitHub Pages compilation process. In order to avoid this kind of error, you have to add a language specification on the code block. If you have any code block, just add the language after the final "`".
Hope this helps!
from dactl.
Simple update, I have found that the error is actually a problem happening just during the GitHub Pages compilation process. In order to avoid this kind of error, you have to add a language specification on the code block. If you have any code block, just add the language after the final "`".
Hope this helps!
Hi! I have tried "python" and "
py", ~~~python and ~~~py the problem still exists.
from dactl.
Hi! Hmmm... What about using another language? I mean, right now I can't test if it's the issue, but there should be no difference between using Python and/or Javascript (or any other language) for rendering matters, but my site is using JS snippets and it seems to be working! How about specifying another language? Also, check if using something like javascript
, js
, text
, txt
or php
it works, if not, let me know so I can dig into the code, I really want this issue to get fixed.
from dactl.
So, for anyone interested, this isn't an issue with the template per sé, in fact, it is an issue with Rogue syntax highlighter and the HTML minification gem. I can't seem to find a way to fix this, but have found a workaround, instead of using ~~~python
or any other normal markdown combination, use:
{% highlight c++ %}
int main() { return 0; }
{% endhighlight %}
This way, the line numbers get disabled. I can't tell exactly what is going on, but at least you can get your site working with this little hack. Probably this problem is a fault of outdated ruby plugins on Github Pages. Also, this issue is quite famous, you can read more about it here:
Hope this helps! @kayoungk :)
from dactl.
Related Issues (15)
- Issues editing theme.js HOT 2
- in .md files end of the code block is not recognized properly HOT 7
- Date Formatting HOT 1
- Appears the Gemfile is missing some plugins defined in the _config.yml HOT 1
- Switching theme presets HOT 1
- Hero overlay colors HOT 2
- excerpts not working HOT 1
- Code snippet issue. HOT 3
- Please fix this sniffet issue.. HOT 1
- open source license?
- Cant solve some issues about theme HOT 2
- Undesired class="highlight"> appearing on blog posts HOT 2
- no gemfile HOT 1
- Disqus not working HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dactl.