Comments (4)
@elipousson we're a bit swamped right now as you have noticed. I'll get to it when I can.
from fontawesome.
Related issue on typst to follow
Someone made a typst library for it for now: https://github.com/duskmoon314/typst-fontawesome (it is findable in search list at https://typst.app/docs/packages/). They have nice syntax and lots of icons it seems: https://typst.app/project/rQwGUWt5p33vrsb_uNPR9F
I just learnt about this experimental package repo: https://github.com/typst/packages
Really cool to see all this available!
from fontawesome.
I made some progress on this but I'm not very familiar with Lua so I think I may still be missing some issues. I was able to implement support for relative sizes (e.g. "2xs" to "2xl"), limited support for groups ("brands" group only), and colored fill.
Unfortunately, while these all work for inline shortcodes—the shortcodes in the table from the example don't render as expected. In addition, the shortcode errors when used with LaTeX sizes ("tiny" to "Huge") and the literal sizes for HTML ("1x" to "10x"). The latter issues seem solvable (I'm just unsure how) but the first issue has me stumped. The shortcode also worked in tables before I implemented the group parameter!
Tips or suggestions of changes to try are welcome.
from fontawesome.
I just made a few updates to the PR:
- Fixed the issue with icon rendering so they work in tables as well as inline
- Added support for LaTeX sizes ("tiny" to "Huge")
- Renamed the fill argument to color for consistent with #35
- Updated the example document to document the format-specific parameters
Literal sizes for HTML ("1x" to "10x") are still not handled well and color-handling could be improved but it is coming together. No rush to review @cscheid but just wanted to make sure you saw this existed.
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 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.