or, if the idea is to have the user run the IDE anyway, wouldn't it be just as easy to provide the detail as in link above and just Ctrl+A Ctrl+C to copy while at that source page, then place the cursor caret within the right-hand pane of the IDE and Ctrl+V to copy the contents there, and then just press the upload button of the IDE?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Thr 2018.08.16
Hello Chris @user93073, are you trying to do something that would result like this:
https://raw.githubusercontent.com/espruino/EspruinoDocs/master/modules/MQTT.js
If so, I agree with @DrAzzy
or, if the idea is to have the user run the IDE anyway, wouldn't it be just as easy to provide the detail as in link above and just Ctrl+A Ctrl+C to copy while at that source page, then place the cursor caret within the right-hand pane of the IDE and Ctrl+V to copy the contents there, and then just press the upload button of the IDE?