Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 564 Bytes

README.md

File metadata and controls

37 lines (26 loc) · 564 Bytes

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();