@sourceref module

Loads a file and wraps it with markdown for code block.

@sourceref PATH

Wraps file contents with triple ` so it shows up as a code block.

Parameters

  1. PATH {String}:

    The path to any kind of file.

An example file might look like:

var foo = 'bar';

That gets used like:

@sourceref ./demos/something.js

And renders like:

@sourceref ./demos/something.js