Hello good people of DokuWiki.
I'm using dokuwiki to document a code-intensive project, and want to include external files from urls on the net (mainly raw github files).
I have unsuccessfully tried to use php like this:
<php>
echo "<code cpp file.cpp>";
echo file_get_contents( "
http://some.github.com/rawfile.c" );
echo "</code>";
</php>
Clearly I don't know how/where to insert the raw file contents.
Can anyone suggest a better way to do this?