x-math

Polymer element to embed beautiful math using just HTML.

MIT License

Stars
10
Committers
1

<x-math>

Polymer element to embed beautiful math using just HTML.

Documentation Live demo

Examples

<x-math>\frac{a}{b}</x-math>

Or make this math editable

<x-math editable>\frac{a}{b}</x-math>  

Install

Method 1 - bower

bower install x-math

Method 2 - Polymer

  1. Import Web Components' polyfill:
<script src="//cdnjs.cloudflare.com/ajax/libs/polymer/0.2.4/platform.js"></script>
  1. Import Custom Element:
<link rel="import" href="x-math.html">
  1. Start using it!
<x-math></x-math>