ARMbed Snippet Extractor

Created: 2024-02-21T01:36:58-06:00

Return to the Index
This card pertains to a resource available on the internet.

You write example code for a book, document, etc, in their own source files that can be compiled and run. Then you mark regions with comment fences. `snippet` walks through the files and copies the snippets to their own files. Documentation then imports these snippet files.

This ensures that your example code is always tested and you will get compile errors if you break them.

Discovered through Bargsten's blog