quaint-share-buttons

0.1.0 • Public • Published

quaint-share-buttons

This plugin lets you embed share buttons on a page.

Install

quaint --setup share-buttons

Sample use

share ::
  facebook
  twitter
  google+
  reddit
  email

For styling purposes, know that the generated code will look like this:

<div class="share-buttons">
   <a href="https://facebook.com/sharer/..." ...>
     <img src=".../facebook.svg">
   </a>
   ...
</div>

Macros

share ::

Specify which buttons you want to display and in what order, one by line.

The following code will add every button that is currently available:

share ::
  facebook
  twitter
  google+
  reddit
  email

I grant that's not a lot of options, but more will be added.

Attribution

The buttons generated by quaint-share-buttons are from the Social Flat Rounded Rects icon set by Aha-Soft, released under the Creative Commons 3.0 license (free to use).

Package Sidebar

Install

npm i quaint-share-buttons

Weekly Downloads

0

Version

0.1.0

License

MIT

Last publish

Collaborators

  • breuleux