added mathjax support (#473)
diff --git a/R/print.R b/R/print.R
index cf6ba64..09e7cef 100644
--- a/R/print.R
+++ b/R/print.R
@@ -6,7 +6,10 @@
     html_dependency_kePrint()
   )
   html_kable <- htmltools::browsable(
-    htmltools::HTML(as.character(x))
+    htmltools::HTML(
+      as.character(x),
+      '<script type="text/x-mathjax-config">MathJax.Hub.Config({tex2jax: {inlineMath: [["$","$"], ["\\(","\\)"]]}})</script>;<script async src="https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>'
+      )
   )
   htmlDependencies(html_kable) <- dep
   class(html_kable) <- "shiny.tag.list"
diff --git a/inst/NEWS.md b/inst/NEWS.md
index 2cd6aef..a24ba30 100644
--- a/inst/NEWS.md
+++ b/inst/NEWS.md
@@ -15,6 +15,8 @@
 * Fixed a bug with `group_rows` when used with `repeat_header` on the last row
 (#476)
 
+* Added mathjax to preview (#473)
+
 
 kableExtra 1.1.0
 --------------------------------------------------------------------------------