Coder Social home page Coder Social logo

hyoban / remark-github-alerts Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 0.0 619 KB

Support GitHub-style alerts for remark

Home Page: https://remark-github-alerts.vercel.app

License: MIT License

TypeScript 33.11% JavaScript 0.30% HTML 60.06% CSS 6.52%
github-flavored-markdown markdown nextra remark

remark-github-alerts's Introduction

remark-github-alerts's People

Contributors

hyoban avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

remark-github-alerts's Issues

Add SVG icons into HTML instead of encoding them

Clear and concise description of the problem

Hi 👋

  • It's not possible to change their color with CSS.
  • It's difficult to change their size with CSS.

Suggested solution

Directly insert the SVG icons into the HTML.

Alternative

This is how I changed the size:

    background-size: 20px;
    width: 20px;
    height: 20px;

Changing the color is not possible unless I alter the SVG and use the plugin options to replace them.

Additional context

It's also possible to add a bit of code to be able to change the size of the icons with font-size, instead of using width and height properties.

I can send a PR for this.

Validations

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.