octomments-renderer

1.0.5 • Public • Published

Octomments renderer

The default UI of Octomments.

Setup

<link rel="stylesheet" href="https://unpkg.com/octomments/build/ocs-ui.min.css" />
<script src="https://unpkg.com/octomments/build/ocs-ui.min.js"></script>

or

> npm i octomments-renderer

Usage

import Octomments from 'octomments';
import Renderer from 'octomments-renderer';

const comments = Octomments({
  debug: true,
  github: {
    owner: 'krasimir',
    repo: 'octomments',
  },
  number: 1,
  renderer: [Renderer, '#container']
});

comments.init();

Package Sidebar

Install

npm i octomments-renderer

Weekly Downloads

5

Version

1.0.5

License

MIT

Unpacked Size

218 kB

Total Files

14

Last publish

Collaborators

  • krasimir