jekyll-katex | Jekyll plugin for easy server-side math rendering via KaTeX | Theme library
kandi X-RAY | jekyll-katex Summary
kandi X-RAY | jekyll-katex Summary
Jekyll plugin for easy server-side math rendering via KaTeX
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of jekyll-katex
jekyll-katex Key Features
jekyll-katex Examples and Code Snippets
Community Discussions
Trending Discussions on jekyll-katex
QUESTION
I used Jekyll 3.8.5 and built a blog on GitHub. I also used Jekyll-Katex 0.3.0, a Jekyll plugin for easy server-side math rendering via KaTeX. Everything works fine on my local machine. But when I pushed it to GitHub, I got this: "Your site is having problems building: The tag Katexmm on line 11 in _posts/2019-01-22-ECDSA-and-Bitcoin-I.md is not a recognized Liquid tag."
"Katexmm" is a liquid tag of Jekyll-Katex, so I checked dependencies. Jekyll-Katex 0.3.0 requires Jekyll ~> 3.8 while GitHub Pages uses Jekyll 3.7.4. I guess that's the problem.
What shall I do? One more thing: I want to use "katexmm", please don't suggest me to use Jekyll 3.7.4 instead of 3.8.5. Thanks in advance.
I followed ashmaroli's suggestion, but still doesn't work. I tried Nelify and "Deploy failed":
...ANSWER
Answered 2019-Feb-21 at 13:07My problem is solved, FINALLY. I used another static generator Hexo with an amazing theme "Next" and it works fine with KaTeX.
Two main steps to solve the problem:
Step 1. Install Hexo and deploy my site to GitHub
Step 2. Embed KaTex
There are some details in each step. I wrote two posts: Step 1, Step 2.
QUESTION
I am creating a new Jekyll blog setup where I want to self-host and generate server-side everything I can (so basically everything besides Disqus and Google Analytics). I want my site to work well even on browsers with JS turned off, which is why I turned to Kramdown+Rouge for syntax highlighting and KaTex for rendeding TeX formula during site generation.
I found a problem though. When I have example like:
...ANSWER
Answered 2018-Dec-26 at 01:45I managed to get rid of errors by modifying tag from jekyll-katex
to work around code
(inline, use single tilde) and pre code
(block made using indention or 3 tildes):
QUESTION
Are a couple of days that I'm trying to use KaTeX instead of MathJax on my static Jekyll website. I tried a lot of suggestion found on internet without success. The last one is the jekyll-katex plugin. I followed all the steps in the readme.
This is my current Gemfile
:
ANSWER
Answered 2018-Jun-16 at 22:29I did it! However I didn't use jekyll-katex
plugin but jekyll-katek-block
. I simply followed the instruction in its readme. Basically the only steps needed are:
- Put
katex_block.rb
in_plugins
folder Store
katex.min.js
anywhere in your website. Default is/public/js/katex.min.js
, otherwise you have to modify your_config.yml
adding
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install jekyll-katex
In your Jekyll project, add the plugin to your _config.yml, e.g.: plugins: - jekyll-katex
Add jekyll-katex to your gems.rb/Gemfile plugin block: group :jekyll_plugins do gem 'jekyll-katex' end Once done, execute bundle install.
Add KaTeX CSS and Fonts. Follow the installation instructions on the KaTeX README. You can skip including the .js file unless you want to do client-side in-browser rendering, as well. Put the following (adjusting for your version) in your page headers: <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.min.css" integrity="sha384-zB1R0rpPzHqg7Kpt0Aljp8JPLqbXI3bhnPWROx27a9N0Ll6ZP/+DiW/UqRcLbRjq" crossorigin="anonymous">
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page