Markdown with LaTeX parser in Javascript
Load MarkJax into a web page by including its main JavaScript file into the page.
Place the following line in the <head>
section of your document:
<script type="text/javascript" src="https://codeassign.github.io/markjax/dist/markjax.min.js"></script>
Now you can write simple HTML which uses markjax
:
<html>
<head>
<script type="text/javascript" src="https://codeassign.github.io/markjax/dist/markjax.min.js"></script>
</head>
<body>
<div id="output"></div>
<script>
markjax("# Hello\n$\LaTeX$", document.getElementById("output"));
</script>
</body>
</html>
Same HTML is available here.