Comments (3)
Regarding your request of not using shortcodes, this is asked in there already
is it possible to style the icon in the same way as I have above while using shortcode only?
Currently there is no way to pass any attributes using shortcode. Only a few is supported
fontawesome/_extensions/fontawesome/fontawesome.lua
Lines 68 to 71 in d334eba
Alternatively, is there a way to ensure fontawesome dependencies get loaded to a document whether or not a shortcode is found?
See #30 for a wild trick of display: none
Otherwise, don't use the shortcode, and directly use the fontawesome dependencies using include-in-header
and some raw HTML or use the Lua version of adding dependencies as mentioned in #30 (comment)
#30 should solve your problem. so I'll rephrase this issue as supporting more options
from fontawesome.
Initially it appears that using the HTML syntax does not work. However, including at least one quarto syntax icon in the document allows both syntax types to render as expected.
This is because if you don't use the shortcode, then the fontawesome dependencies are not loaded into your document. The HTML deps are only inserted in document header when {{< fa ... >}}
is used - same for LaTeX dependencies.
If the shortcodes is not used, the the extension does nothing.
from fontawesome.
I see, so would is it possible to style the icon in the same way as I have above while using shortcode only?
Alternatively, is there a way to ensure fontawesome dependencies get loaded to a document whether or not a shortcode is found?
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
- Possibility to specify the color? HOT 4
- 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
- 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.