All Projects → 3axap4eHko → react-native-katex

3axap4eHko / react-native-katex

Licence: other
React Native KaTeX

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to react-native-katex

Editor.md
The open source embeddable online markdown editor (component).
Stars: ✭ 11,741 (+41832.14%)
Mutual labels:  katex
katex-rs
Rust bindings to KaTeX
Stars: ✭ 91 (+225%)
Mutual labels:  katex
Draft
▪️Online markdown editor
Stars: ✭ 29 (+3.57%)
Mutual labels:  katex
Vditor
♏ 一款浏览器端的 Markdown 编辑器。
Stars: ✭ 1,742 (+6121.43%)
Mutual labels:  katex
Jekyll Spaceship
🚀 A Jekyll plugin to provide powerful supports for table, mathjax, plantuml, mermaid, emoji, video, audio, youtube, vimeo, dailymotion, soundcloud, spotify, etc.
Stars: ✭ 196 (+600%)
Mutual labels:  katex
notes
Simple text editor for your Markdown and LaTeX notes.
Stars: ✭ 24 (-14.29%)
Mutual labels:  katex
Gatsby Starter Lumen
A constantly evolving and thoughtful architecture for creating static blogs.
Stars: ✭ 1,797 (+6317.86%)
Mutual labels:  katex
showdown-katex
Math typesetting for showdown
Stars: ✭ 32 (+14.29%)
Mutual labels:  katex
Katex
Fast math typesetting for the web.
Stars: ✭ 14,623 (+52125%)
Mutual labels:  katex
ckeditor5-math
Math feature for CKEditor 5.
Stars: ✭ 51 (+82.14%)
Mutual labels:  katex
Infinitex
A LaTeX and WYSIWYG editor with academic search functionality and other helpful tools
Stars: ✭ 145 (+417.86%)
Mutual labels:  katex
Oboe
🗄 A simple tool to convert an Obsidian vault into a static directory of HTML files.
Stars: ✭ 168 (+500%)
Mutual labels:  katex
react-katex
Display math in TeX with KaTeX and ReactJS
Stars: ✭ 135 (+382.14%)
Mutual labels:  katex
Katex
Android Katex library to render math Formula faster in android using khanacademy Katex
Stars: ✭ 135 (+382.14%)
Mutual labels:  katex
vscode-markdown-editor
A vscode extension to make your vscode become a full-featured WYSIWYG markdown editor
Stars: ✭ 249 (+789.29%)
Mutual labels:  katex
Remark Math
remark and rehype plugins to support math
Stars: ✭ 129 (+360.71%)
Mutual labels:  katex
KaTeXView
KaTeX View for android
Stars: ✭ 43 (+53.57%)
Mutual labels:  katex
asciidoctor-katex
Asciidoctor extension for converting latexmath using KaTeX at build time
Stars: ✭ 16 (-42.86%)
Mutual labels:  katex
augmath
Interactive Computer Algebra System. Augmenting how we *do* mathematics using computers
Stars: ✭ 41 (+46.43%)
Mutual labels:  katex
draft-js-katex-plugin
A Katex plugin for DraftJS.
Stars: ✭ 33 (+17.86%)
Mutual labels:  katex

React Native KaTeX

react-native-webview bundled with KaTeX

NPM version Downloads Github CI Status Travis CI Status

Example

EXPO Snack

React Native KaTeX

Usage

const styles = StyleSheet.create({
  katex: {
    flex: 1,
  }
});

const inlineStyle = `
html, body {
  display: flex;
  background-color: #fafafa;
  justify-content: center;
  align-items: center;
  height: 100%;
  margin: 0;
  padding: 0;
}
.katex {
  font-size: 4em;
  margin: 0;
  display: flex;
}
`;

export default function App() {
  const inlineText = 'inline text';
  const [loaded, setLoaded] = useState(false);
  const [expression, setExpression] = useState(`\\text{${inlineText} }c=\\pm\\sqrt{a^2 + b^2}`);
  setTimeout(() => setExpression(`\\text{${inlineText} }d=\\pm\\sqrt{a^2 + b^2}\\text{ still}`), 2000);

  return (
    <Katex
      expression={expression}
      style={styles.katex}
      inlineStyle={inlineStyle}
      displayMode={false}
      throwOnError={false}
      errorColor="#f00"
      macros={{}}
      colorIsTextColor={false}
      onLoad={() => setLoaded(true)}
      onError={() => console.error('Error')}
    />
  );
}

License

License The MIT License Copyright (c) 2017-2022 Ivan Zakharchanka

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].