GithubHelp home page GithubHelp logo

paruma / inkdrop-math Goto Github PK

View Code? Open in Web Editor NEW

This project forked from inkdropapp/inkdrop-math

0.0 0.0 0.0 152 KB

Add math syntax support to markdown editor and preview

License: MIT License

JavaScript 49.55% CSS 50.45%

inkdrop-math's Introduction

math

It adds math syntax support to markdown editor and preview. It uses KaTeX to render math typesetting.

Install

ipm install math

Usage

LaTeX syntax

You can write equations in LaTeX syntax like this:

```math
\int_0^\infty \frac{x^3}{e^x-1}\,dx = \frac{\pi^4}{15}
```

or

$$
\int_0^\infty \frac{x^3}{e^x-1}\,dx = \frac{\pi^4}{15}
$$

It will be rendered as:

block example

Inline example:

Inline math: $\int_0^\infty \frac{x^3}{e^x-1}\,dx = \frac{\pi^4}{15}$

It will produce:

inline example

Changelog

  • 1.1.0
    • feat(katex): update react-katex (Thanks @tonyonodi)
    • fix(fonts): Update font face
  • 1.0.0
    • Support Inkdrop 4.x
  • 0.4.0
    • Bump up katex version
  • 0.3.1
    • Remove unused keymaps and menus
  • 0.3.0
    • Support Inkdrop v3.4.0
  • 0.2.2
    • Support Inkdrop v3.1.1
  • 0.2.1
    • Fix font not loaded
  • 0.2.0
    • Rename package name
    • Change fence char from 67191$ to 67191
  • 0.1.0 - First release

inkdrop-math's People

Contributors

craftzdog avatar paruma avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.