Can I use LaTex with Jekyll?

Using GitHub - mhartl/jekyll-latex: LaTeX converter for Jekyll this site I add gem ‘jekyll-latex’ to my Gemfile and ```
plugins: - jekyll-latex to my _config.yml file but it didn’t work. I figured that I should change the extension to .tex but I need to use markdown with jekyll. So is there a way to use LaTex inside a markdown file?

If you want to use latex only for equations, I’d recommend using MathJax, which is what jekyll-latex also using for drawing equations.