4 ms·
Typst looked promising, but the very first thing I wanted to do with it - generate some slides with code snippets, and use highlights to call out specific featu
by endgame 2y ago
Typst looked promising, but the very first thing I wanted to do with it - generate some slides with code snippets, and use highlights to call out specific features of the code - is not possible. The core layout engine seems to merge `styled(...)` spans in code blocks far too aggressively, making it impossible for codly (the code highlighting package I tried) to pick out precise ranges to highlight.
I went back to beamer.
- chaxor 2y agoThis is pretty hard to believe considering how good the ecosystem in Typst is so far. There are quite a few packages for making slides in Typst including [Polylux](https://github.com/gszauer/polylux https://github.com/gszauer/polylux), [Touying](https://github.com/Wyntau/touying https://github.com/Wyntau/touying], [minideck](https://typst.app/universe/package/minideck https://typst.app/universe/package/minideck), [slydst](https://typst.app/universe/package/slydst https://typst.app/universe/package/slydst) [minimal-presentation](https://typst.app/universe/package/minimal-presentation https://typst.app/universe/package/minimal-presentation) and many more.
- endgame 2y agoThe problem is not with the slides package, it's with the content I want to put on the slides: https://github.com/Dherse/codly/issues/35 https://github.com/Dherse/codly/issues/35 and in particular, this comment from the author of codly where he sounds constrained by Typst: https://github.com/Dherse/codly/issues/35#issuecomment-2466781409 https://github.com/Dherse/codly/issues/35#issuecomment-24667...
- Aaron2222 2y agoMy impressions with Typst have been very positive, though I did notice the same issue with Codly. Typst is still quite a new tool, so my expectation would be that this kind of issue will be fixed at some point.
- Onawa 2y agoLook at Quarto. Write in markdown and export to web, print, and presentations (including straight to PowerPoint or reveal.js for interactive web-based slides. All from the same content using includes, variables, flags, etc. Show interactive plots directly in you presentations, tons of other features. Almost every project I create now whether it's documentation, presentation, report, website, or anything else project-related can fit within `quarto create project`.
- __mharrison__ 2y agoDid you file an issue? The devs are quite responsive and now is the time to act while it is making quick progress.
- Aaron2222 2y agoThey did[0] (as per their earlier reply[1]), and now it's fixed. [0]: https://github.com/Dherse/codly/issues/35 https://github.com/Dherse/codly/issues/35 [1]: https://news.ycombinator.com/item?id=42103510 https://news.ycombinator.com/item?id=42103510