@geekie/geekie-katex
TypeScript icon, indicating that this package has built-in type declarations

0.0.24 • Public • Published

geekie-katex

Basic usage

import React from "react";
import { DraftailEditor } from "draftail";
import createKatexPlugin from "@geekie/geekie-katex";

const katexPlugin = createKatexPlugin();

export default = () => (
  <DraftailEditor
    entityTypes={[katexPlugin.entityType]}
    controls={[katexPlugin.control]}
    plugins={[katexPlugin]} 
  />
);

Package Sidebar

Install

npm i @geekie/geekie-katex

Weekly Downloads

315

Version

0.0.24

License

MIT

Unpacked Size

33.5 kB

Total Files

14

Last publish

Collaborators

  • zonetti
  • mattbarros
  • izabelamelo
  • thomaz.morais
  • carlateo
  • leocpadua
  • rsalmeidafl
  • danielbucher
  • duailibe