GithubHelp home page GithubHelp logo

hexojs / hexo-fontawesome Goto Github PK

View Code? Open in Web Editor NEW
16.0 16.0 7.0 832 KB

A utility function which helps to inline fontawesome SVG files.

License: MIT License

JavaScript 100.00%
hexo hexo-plugin

hexo-fontawesome's People

Contributors

dependabot-preview[bot] avatar dependabot-support avatar dependabot[bot] avatar ertrzyiks avatar jiangtj avatar neverbot avatar segayuu avatar tomap avatar uiolee avatar yoshinorin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hexo-fontawesome's Issues

Package not published in npm for two years

Hi, I was looking for some errors I was seeing in hexo-fontawesome with hexo v6, and it seems it has been solved in the repo:

  "peerDependencies": {
-    "hexo": "3.x || 4.x || 5.x"
+    "hexo": "3.x || 4.x || 5.x || 6.x"
  },

but looking to the versions published in npm, the last version is two years old:
https://www.npmjs.com/package/hexo-fontawesome

It seems nobody is updating the version in the package.json and doing a npm publish.

Improve error reporting

When the icon is missing or the prefix is wrong, the error is not so helpful.

Template render error: TypeError: Cannot read property 'html' of undefined

Update fontawesome to 5.1

npm WARN deprecated @fortawesome/[email protected]: This package is deprecated. See https://git.io/fNCzJ for information about upgrading.
npm WARN deprecated @fortawesome/[email protected]: This package is deprecated. See https://git.io/fNCzJ for information about upgrading.
npm WARN deprecated @fortawesome/[email protected]: This package is deprecated. See https://git.io/fNCzJ for information about upgrading.
npm WARN deprecated @fortawesome/[email protected]: This package is deprecated. See https://git.io/fNCzJ for information about upgrading.

https://github.com/FortAwesome/Font-Awesome/blob/master/UPGRADING.md#50x-to-510

Use FA Icons in Posts

Forgive me if this is a question I might have solved by reading the Hexo docs, but is there some way to use this and show an icon in a post as well?

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.