embedmd embeds files or fractions of files into markdown files.
It does so by searching embedmd commands, which are a subset of the
markdown syntax for comments. This means they are invisible when
markdown is rendered, so they can be kept in the file as pointers
to the origin of the embedded text.
The command receives a list of markdown files, if none is given it
reads from the standard input.
embedmd supports two flags:
-d: will print the difference of the input file with what the output
would have been if executed.
-w: rewrites the given files rather than writing the output to the standard
output.
For more information on the format of the commands, read the documentation
of the github.com/campoy/embedmd/embedmd package.