Skip to content

squareboat/native-mathjax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

native-mathjax

A simple NPM nodule to show Mathematical equations using MathJAX in React Native using Webview. It uses AutoHeightwebview to render the content as webview and set height of the content automatically.

Installation

npm install native-mathjax --save

How to use

  1. use it with scrollview like this `
`

Usage

<MathJax
  /*
    MathJax configuration option :
    You can add your own configuration here. Default configuration this Module uses is :
    Remember, If you want to use this configuration, then no need to use this prop in your code.

  */
  defaultConfiguration = {{
	jax: ["input/TeX","output/HTML-CSS"],
            tex2jax: { inlineMath: [["$$","$$"],["\\(","\\)"]] },
            showMathMenu: false,
            showMathMenuMSIE: false
  }}
 />

About

A simple NPM nodule to show Mathematical equations using MathJAX in React Native using Webview.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published