Comments (4)
it would be great if it can be done in the shorthand code directly
I don't think it's possible to do that across formats. (It would work for the predefined formats, but it wouldn't work for custom formats). The span solution makes it clear that the result will only work for HTML, so I think that's the only correct solution right now.
from fontawesome.
I figured out it's possible by defining a span, but it would be great if it can be done in the shorthand code directly:
[{{< fa brands linkedin >}}]{style="color: red;"}
from fontawesome.
OK, that makes sense, thanks. The reason I asked was because this is a feature in the academicons extension.
from fontawesome.
@jozilla I see! The issue is that I believe they don't support other formats besides HTML, and we need to.
from fontawesome.
Related Issues (20)
- 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
- FR: add color argument? HOT 3
- FEATURE: `style` key should optional in shortcode HOT 2
- How to access "regular" fontawesome icons? HOT 1
- `aria-label` option won't override default for icon? HOT 2
- Any plans to support the new Twitter/X Logo? HOT 1
- Update fontawesome embed version
- feature request: turn on linking without using shortcodes HOT 4
- Support typst HOT 4
- Support more attributes in shortcodes for icon tag compatibility HOT 3
- Making this work in Quarto RevealJS in mermaid diagrams HOT 2
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.