2 ms·
Ask HN: How do you make sure code snippets in docs are working and up to date?
- verdverm 4y agoI use actual code files on disk, write tests, and then have a process for converting them to html snippets (with shiki) and embedding them into the the larger site. https://github.com/hofstadter-io/cuetorials.com https://github.com/hofstadter-io/cuetorials.com