Comments (3)
Yes, it is a little verbose, but the reason I'm reluctant to implement your request is that color
is only one of the many different CSS changes that someone might want to do, and there's already a mechanism for controlling appearance: CSS. It even enables you to control it globally, by adding a CSS rule that selects all FA icons and changes color. As it stands, adding color would only partially solve the problem, and introduce downstream confusion when people try to use other features.
from fontawesome.
Is there a reason you prefer this syntax to using a wrapping span on the markdown to adjust the style? We'd like to keep extensions minimal whenever possible.
from fontawesome.
Do you mean something like this:
[{{< fa brands r-project >}}]{style="color:steelblue"}
I suppose that's an option, just a little verbose. If you all prefer to keep the extension minimal, though, I totally understand.
from fontawesome.
Related Issues (18)
- More icons? HOT 12
- CI: Add GHA to publish rendered example on gh-pages? HOT 4
- FA shortcode in indented text (pre/code block) not displaying icon HOT 2
- fontawesome not working with Quarto 0.9.644 HOT 2
- No longer working with self contained: true HOT 1
- Incorrect path to fonts generated with Quarto v1.2+ HOT 7
- Making the icons clickable HOT 1
- Issue while compiling html with quarto and fontawesome HOT 3
- lua errors when trying to render revealjs with fontawesome extension HOT 22
- The URL link disappers when switch tabs between souce and visual in Quarto HOT 2
- Issue deploying to netlify HOT 13
- FEATURE: `style` key should optional in shortcode HOT 2
- License notice? HOT 3
- Support Icon Sizes? HOT 3
- Make icons available to use in `_quarto.yml` HOT 11
- Icon doesn't show up in blog post preview HOT 4
- Accessible icons HOT 16
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fontawesome.