qmd-lab / closeread

https://closeread.dev
MIT License
130 stars 5 forks source link

Zoom To #76

Closed andrewpbray closed 3 months ago

andrewpbray commented 3 months ago
andrewpbray commented 3 months ago

@jimjam-slam I believe we have a refactored zooming system that does zooming via zoom-to 🪩 . This allows uses to separately use either highlight or zoom-to on code or lineblocks. If they want to invoke both, they can use the hlz attribute that, on document load, just writes out the analogous highlight and zoom-to attributes for that trigger.

I'll try to get some docs up and possibly if I have energy before tomorrow, expanding the functionality to display math blocks.