Git Product home page Git Product logo

hexo-shortcodes's Introduction

hexo-shortcodes

Hexo shortcodes helper. Various shortcodes for hexo, adapted from jekyll. Various hexo shortcode tags. GitHub.

Installation

Firsly, remove old original tag renderer. Because this plugin already have all default tag (vimeo, youtube, gist, codeblock)

npm un hexo-tag-embed

production

npm i hexo-shortcodes

latest changes, replace COMMIT_HASH with latest commit hash. see pre-release commit history

npm i hexo-shortcodes@https://github.com/dimaslanjaka/hexo-shortcodes/tarball/COMMIT_HASH

for yarn just replace npm i with yarn add

shortcodes list

shortcode description
hexo codepen shortcode embed codepen
hexo gist shortcode embed gist
hexo jsfiddle shortcode embed jsfiddle
hexo githubCard shortcode embed github card
hexo rssreader shortcode embed rss feed
hexo github shortcode embed any source files from github.com
hexo npmrunkit shortcode embed any javascript codes to website
hexo include_file shortcode include any files relative to hexo.config.source_dir, hexo.config.code_dir, or reference file it self
videos default hexo embedding videos

Language Test

Changelog

read more at https://github.com/dimaslanjaka/hexo-shortcodes/commits/pre-release (chore,feat,fix sections)

1.2.3

  • fix: hexo@6 context.extend.highlight undefined TypeError: Cannot read properties of undefined (reading 'query')

1.2.2

  • include_file: fix typeof hexo undefined

1.2.1

  • include_file: add include file shortcode tag
  • gist: fix failed embed spesific lines

1.2.0

  • gist: change parameters and usages
  • gist: validate id is URL or not

1.1.3

  • rssreader: hotfix get thumbnail from rss item
  • rssreader: fix: validate item['media:group'] is Array

1.1.2

  • gist: fix undefined username

1.1.1

  • fix: invalid git-embed location

Documentations

License

MIT

hexo-shortcodes's People

Contributors

dimaslanjaka avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.