-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support more attributes in shortcodes for icon tag compatibility #34
Comments
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 If the shortcodes is not used, the the extension does nothing. |
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? |
Regarding your request of not using shortcodes, this is asked in there already
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
See #30 for a wild trick of Otherwise, don't use the shortcode, and directly use the fontawesome dependencies using #30 should solve your problem. so I'll rephrase this issue as supporting more options |
I've discovered some curious behaviour when attempting to copy paste HTML code from the fontawesome site for use in quarto docs. 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. Below is a shell script to help reproduce the behaviour.
The text was updated successfully, but these errors were encountered: