-
Notifications
You must be signed in to change notification settings - Fork 189
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
Checklist: Checkboxes missing when Fontawesome enabled for icons #526
Comments
The example file and workarounds can be found in this repository for reproducing the problem: |
If someone can confirm that the change (replacing the icon classes) would be fine, I could of course create a pull request for that. |
@thomas-ferchau sorry for the late reply but yes you can submit a pull request. As you've mentioned checklists currently do not look great and we should improve it. Your second proposal is great. You can take a look at: https://docs.asciidoctor.org/asciidoc/latest/lists/checklist/ which is very close to your second proposal. |
When enabling Fontawesome for icons (
:icons: font
), checklists do not contain any checkboxes:Checkboxes are shown without Fontawesome - but not scaled with the font (see #451):
Workarounds that I use:
Workaround 1: Replace icon class
icon-check
withfar fa-check-square
andicon-check-empty
withfar fa-square
indocinfo-footer-revealjs.html
:Workaround 2: Remove bullets and improve spacing in custom CSS (does not look nice for mixed lists, but I do not use those):
Possible fixes:
Show checkbox icons: Replace icon class
icon-check
withfar fa-check-square
andicon-check-empty
withfar fa-square
intemplates/ulist.html.slim
andlib/asciidoctor-revealjs/converter.rb
.Remove bullets in check lists and fix spacing: Maybe Add missing list styles #451 would solve that.
The text was updated successfully, but these errors were encountered: