Elektrine lite

← Feed

@wigging@fosstodon.org

Post #3280293

2026-05-27 14:23 UTC

@steve@discuss.systems @mattiem@mastodon.social Copy and paste from Xcode into Keynote keeps the syntax highlighting. But this requires two apps (Xcode and Keynote) to create a presentation. Seems like Keynote should have this ability instead of relying on other apps.

Replies (1)

  • @steve@discuss.systems 2026-05-27 15:02

    @wigging@fosstodon.org @mattiem@mastodon.social agree to disagree. I get the appeal, but IMO it’s always better to write your code snippets in an actual code editor so you can check that they compile and work correctly and so you can have a single source of truth for highlighting. Especially because in some languages highlighting correctly may depend on language version, what modules/headers are imported, etc. You’d end up with Keynote maintaining a bunch of language frontends to do it right. (There are lots of cheap syntax highlighting hacks in the world that don’t do this and they all get stuff wrong to some extent. I’ll let the IDE get it right.)

    Open ##3280294