Giter VIP home page Giter VIP logo

badges's People

Contributors

gapmiss avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

Forkers

todearaujo

badges's Issues

Support for other Icon Sets

Rpg Awesome,Font Awesome, and others would be a nice coverage to use different icon set to cover other things.

Example would be using Rpg Awesome Icons to make make a beastiary for monsters and have a nice badge to display its type or category the monster falls in (think pokemon cards or magic the gathering, and how their is a element type associated with said card)

Define new badge types including icons

I see that you can use the CSS Snippets to define new badges, but they seem to only have color settings exposed and I cannot find a way to specify the icon to be associated with that badge. Can this be added? (Or added to the example snippet if the feature is already available?) Thanks!

P.S. Love the Live Preview integration!

Possible support for FontAwesome 6

I'm not sure what needs implemented, but I was wondering how much work it would be to offer one of two solutions:

  1. A way to add custom icons using maybe the SVG path, and being able to also define the text label, and a custom color.
  2. Support for FontAwesome 6 icons using the font-awesome names.

Either one would work, but I'd imagine doing Option 1 would be much easier. Just having a settings panel for the plugin which allows you to simply copy/paste an SVG path and it showing that icon on the label.

There are other plugins like Iconize which support icon packages, but it makes you import all .svg icon files and the plugin stores them in a folder, and then the icons appear in a context menu to pick from. And that may be a lot of work, compared to just a simple SVG path.

Badges based on Metadata

Would be awesome to be able to render badges on the top or bottom of a document in Reading mode based on the Metadata. For example:

---
badges: [note, emergency]
---

Document text starts here

Could render this:

screenshot-JADxePc5@2x

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.