chirpy icon indicating copy to clipboard operation
chirpy copied to clipboard

Add official Docusaurus plugin

Open devrsi0n opened this issue 2 years ago • 5 comments

Is your feature request related to a problem? Please describe.

Add an official Docusaurus plugin to help build communities image

Describe the solution you'd like

Describe alternatives you've considered

Additional context

devrsi0n avatar Nov 05 '22 09:11 devrsi0n

Use this as a template for the docusaurus plugin: https://github.com/rdilweb/template-docusaurus-plugin

RudraSen2 avatar Feb 05 '23 14:02 RudraSen2

Hi @RudraSen2 , thanks for the info, do you have interest in making a Chirpy plugin for docusaurus?

devrsi0n avatar Feb 06 '23 02:02 devrsi0n

I have no experience but would like to help

RudraSen2 avatar Feb 06 '23 12:02 RudraSen2

@RudraSen2 Thank you, I think you only need to find a proper hook to inject the script

<script
  defer
  src="http://chirpy.dev/bootstrap/comment.js"
  data-chirpy-domain="<your-domain>"
></script>

Feel free to create a new package here

devrsi0n avatar Feb 07 '23 00:02 devrsi0n

I have made a repository, and I have implemented the code in it. You can see it here. You can see how I implemented it here.

RudraSen2 avatar Feb 07 '23 13:02 RudraSen2