Skip to main content
Writing LaTex

How to write LaTeX in Markdown in DataCamp's editor.

Amy Peterson avatar
Written by Amy Peterson
Updated over a week ago

Question:

I want to write an equation in LaTeX in my course, but it’s not rendering correctly...what’s going on?

Answer:

DataCamp courses are written in Markdown, and while LaTeX is supported in Markdown, there are a few characters that won’t work without “escaping” Markdown. Specifically, adding a backslash \  following the LaTeX that isn’t working should solve the problem. If that solution does not work, here are a few resources for writing LaTeX in Markdown that should help:

DataCamp uses a version of LaTeX called KaTeX and developed by Khan Academy:

Did this answer your question?