Simon Willison’s Weblog

Subscribe

10th January 2024

TIL literalinclude with markers for showing code in documentation — I [wanted to include](https://github.com/simonw/datasette/issues/1830) some example Python tests in the Datasette documentation - but since they were tests, I also wanted to execute them as part of my test suite to make sure they worked correctly.

This is a beat by Simon Willison, posted on 10th January 2024.

Monthly briefing

Sponsor me for $10/month and get a curated email digest of the month's most important LLM developments.

Pay me to send you less!

Sponsor & subscribe