Created
October 14, 2020 16:16
-
-
Save 0187773933/ada900ab571c369942fa959948c01941 to your computer and use it in GitHub Desktop.
// source https://jsbin.com
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>MathJax example</title> | |
<script src="https://github.com/niklasvh/html2canvas/releases/download/v1.0.0-rc.7/html2canvas.min.js"></script> | |
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script> | |
<script id="MathJax-script" async | |
src="https://cdn.jsdelivr.net/npm/mathjax@3.0.1/es5/tex-mml-chtml.js"> | |
</script> | |
<script> | |
MathJax.Ajax.config.path["mhchem"] = "https://cdnjs.cloudflare.com/ajax/libs/mathjax-mhchem/3.3.2"; | |
MathJax.Hub.Config({ | |
TeX: { | |
extensions: ["[mhchem]/mhchem.js"] | |
} | |
}); | |
</script> | |
<style> | |
p { | |
font-size:2.1em; | |
line-height:0% | |
} | |
</style> | |
<script> | |
function save_image() { | |
html2canvas(document.querySelector("#EquationArea") , {backgroundColor: null , allowTaint: true }).then(canvas => { | |
document.querySelector("#EquationPhoto").appendChild(canvas) | |
}); | |
} | |
</script> | |
</head> | |
<body style="opacity: 1.0"> | |
<div id="EquationArea"> | |
<p> | |
$$ | |
Equation\ 1: \frac{1}{V_{o}} = \frac{K_m}{V_{max}*[S]} + \frac{1}{V_{max}} | |
$$ | |
</p> | |
<br /> | |
<p> | |
$$ | |
Equation\ 2: E + S \ce{<=>[{k_1}][k_{-1}]} ES \ce{->[{k_2}]} E+P | |
$$ | |
</p> | |
<br /> | |
<p> | |
$$ | |
Equation\ 3: K_m = \frac{k_{-1}+k_2}{k_1} | |
$$ | |
</p> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment