Open thomas-ferchau opened 5 months ago
The example file and workarounds can be found in this repository for reproducing the problem: https://github.com/thomas-ferchau/asciidoctor-revealjs-checklist-bug
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 #451 would solve that.