Skip to content

remark-ninja/remark-ninja-react

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Remark Ninja

Introduction

Remark Ninja is a light-weight comment system for GatsbyJS (and other React-based) sites.

Integration

Register and create a site

Remark Ninja is a hosted service, so you need to register and create a site first.

React-based sites

Install the remark-ninja-react component:

npm i -S remark-ninja-react

Then place the component at the appropriate place in your project.

import Comments from 'remark-ninja-react';

// ...

<Comments siteId='your-site-id'
          threadSlug='unique-thread-slug' />

Explanation of the props:

Props Meaning
siteId Unique ID for the site. You can find it on the site settings page
threadSlug Optional. Unique ID for the current comment thread. Generated from the page URL path if omitted.

Please refer to the documentation for further information.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published