MathJax v3 code example

Example: mathjax v3

reference : http://docs.mathjax.org/en/latest/upgrading/v2.html
Fonts : https://github.com/mathjax/MathJax-src.git

Steps are defined as follows : 

Step 1 : Update cdn and mathjax config 
-------
<script type="text/x-mathjax-config" defer> MathJax = {tex: {inlineMath: [['$', '$'], ['\\(', '\\)']]}}; </script>
<script id="MathJax-script" defer src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js?config=TeX-AMS-MML_HTMLorMML"></script>

Step 2 : Update the calling part to  MathJax.typeset(); as 
-------- 
The Mathjax.Hub.Typeset() function has been replaced by the 
MathJax.typesetPromise() and MathJax.typeset() functions. In fact, the 
MathJax.Hub has been removed entirely.