SageMathOER-CCC / sage-discrete-math

An open textbook for Discrete Mathematics with SageMath, as taught at the City Colleges of Chicago
https://sagemathoer-ccc.github.io/sage-discrete-math/
Other
2 stars 2 forks source link

Auto evaluate some sage cells #119

Open Samuel-Lubliner opened 3 weeks ago

Samuel-Lubliner commented 3 weeks ago

I discovered a pretext feature that does not seem to be included in the docs for some reason. It is used in this book

Source code

<sage auto-evaluate="yes">

This will evaluate the cell automatically on the page load. I think it's a nice feature for import statements and function definitions.