Displays the keycaps in your hexo post/page.
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
screenshots
README.md
index.js
package.json

README.md

hexo-tag-kbd

Description

Displays the keycaps in your post/page. Usage is simple, simply be stated as follows.

{% kbd Ctrl %}
{% kbd A %}

If you want to shortcuts be stated as follows.

{% kbd Ctrl %} + {% kbd A %}
{% kbd Ctrl %} + {% kbd ALT %} + {% kbd DELETE %}

The key symbol is displayed as follows.

  • Enter
  • Shift
  • Command
  • Option

For Examples

HHKB

I LOVE HHKB.

Enter

Shift

Command

Option

Install

npm install hexo-tag-kbd@latest --save

Usage

  1. Create post base. hexo new title
  2. Provides a tag in the article. See Description section.
  3. Generate your static post. hexo generate
  4. Open your Browser. type 0.0.0.0:4000 or localhost:4000

Please see this link for more information. Hexo Document

Contribute

  1. Fork it ( https://github.com/kamiya555/hexo-tag-kbd )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request