Files
rtf.js/README.md
T
2018-02-25 12:33:32 +01:00

2.0 KiB

rtf.js

Build Status

Render RTF documents in HTML. This also includes rendering WMF and EMF images which are often contained in RTF documents.

License

The code of this project is licensed under the MIT license. See the file LICENSE for details.

Dependencies

  • rtf.js requires:
  • wmf.js and emf.js require:
  • Rendering WMF and EMF images is accomplished by using HTML5's <svg> feature.
  • Rendering RTF documents often requires rendering embedded WMF and EMF images, however rtf.js can be used without wmf.js and emf.js or with just one of them, if rendering such images is not required.

Live samples:

Developing

To develop first install the dependencies using npm install.

Building

To build the entire project and create the bundles run:

$ npm run build

Tests

To run the test suite run:

$ npm run test