touying-typ / touying

Touying is a powerful package for creating presentation slides in Typst.
https://touying-typ.github.io/touying/
MIT License
461 stars 10 forks source link

refactor: rename `s` to `store` #14

Closed OrangeX4 closed 4 months ago

OrangeX4 commented 4 months ago

Based on the discussion on discord, for better readability and to avoid potential conflicts, we would like to rename s to store, which is a high-impact refactoring.

Example:

#import "@preview/touying:0.3.2": *

#let store = themes.simple.register(store)
#let (init, slides) = utils.methods(store)
#show: init

#let (slide,) = utils.slides(store)
#show: slides

= Title

== First Slide

Hello, Touying!

#pause

Hello, Typst!