We should have a way of referring to it and having parts of the source included
in a spec. Many specs end up having a preferred reference implementation with
which they are associated. Rather than having to keep things like function
signatures manually in sync, we should be able to directly refer to the
signatures in the reference implementation.
We might use a syntax that follows the general form of image references for this
purpose, e.g.,
We often need to refer to source code.
We should have a way of referring to it and having parts of the source included in a spec. Many specs end up having a preferred reference implementation with which they are associated. Rather than having to keep things like function signatures manually in sync, we should be able to directly refer to the signatures in the reference implementation.
We might use a syntax that follows the general form of image references for this purpose, e.g.,
Or we could follow mdBook's approach.