Git Product home page Git Product logo

Comments (12)

jjallaire avatar jjallaire commented on August 20, 2024 2

Just added support for the brands prefix. Updated docs here:

https://github.com/quarto-ext/fontawesome

Note that only the free fontawesome icons are supported, and rabbit does not appear to be a free icon. You could use it by purchasing a Pro plan and then overwriting the assets directory within the extension with the Pro icons.

from fontawesome.

mcanouil avatar mcanouil commented on August 20, 2024 1

@eitsupi When you install the extension you get the HEAD of the repository.
I already reinstalled the extension and used it for https://rlille.fr
(To note, at first there was a weird behaviour, so I updated Quarto to the latest and it works smoothly).

from fontawesome.

dragonstyle avatar dragonstyle commented on August 20, 2024 1

It's great to have you using all of this, thank you!

from fontawesome.

mcanouil avatar mcanouil commented on August 20, 2024 1

I doubled check and apparently light/thin aren't free^^
image

Only 162 out of the 2,009 free icons have "regular" form available

from fontawesome.

eitsupi avatar eitsupi commented on August 20, 2024

It seems that we can only use icons which have solid?

return pandoc.RawInline('html', "<i class=\"fa-solid fa-" .. icon .. "\"></i>")

from fontawesome.

mcanouil avatar mcanouil commented on August 20, 2024

Indeed, I tried to use brands icons, but because "fa-solid" is hardcoded it is not possible.

See RLille/rlille.fr#12 and Netlify preview

image

from fontawesome.

eitsupi avatar eitsupi commented on August 20, 2024

Thank you for updating immediately.
Do you have any plans for release?

from fontawesome.

eitsupi avatar eitsupi commented on August 20, 2024

When you install the extension you get the HEAD of the repository.

Thanks pointing this out. It works! (Perhaps there is currently no way to specify tags?)

By the way, the font list seems to include regular but the following code did not work. Am I missing something?

{{< fa regular arrow-up-right-from-square >}}

https://fontawesome.com/icons/arrow-up-right-from-square?s=regular

from fontawesome.

dragonstyle avatar dragonstyle commented on August 20, 2024

Thanks pointing this out. It works! (Perhaps there is currently no way to specify tags?)

We are working on documentation for extensions now, but you can use tags as well, like:

quarto install extension quarto-ext/fontawesome@<tagname>

from fontawesome.

eitsupi avatar eitsupi commented on August 20, 2024

We are working on documentation for extensions now, but you can use tags as well, like:

quarto install extension quarto-ext/fontawesome@<tagname>

Thank you for letting me know. Makes sense, as this is a common way of specifying!
(I tried it but forgot the v and it failed, so I mistakenly thought it couldn't be done......)

from fontawesome.

mcanouil avatar mcanouil commented on August 20, 2024

{{< fa regular arrow-up-right-from-square >}}

@eitsupi This one is not amongst the 2,009 free icons (See https://fontawesome.com/search?m=free).
{{< fa regular share-from-square >}} works for instance.

from fontawesome.

eitsupi avatar eitsupi commented on August 20, 2024

This one is not amongst the 2,009 free icons (See fontawesome.com/search?m=free).
{{< fa regular share-from-square >}} works for instance.

Thanks, I finally understand.......

image
image

from fontawesome.

Related Issues (20)

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.