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

    Install

    npm i octomments-renderer

    DownloadsWeekly Downloads

    47

    Version

    1.0.5

    License

    MIT

    Unpacked Size

    218 kB

    Total Files

    14

    Last publish

    Collaborators

    • krasimir