Difference between revisions of "EBC Exercise 02 Cloud9 MarkDown"
(Initial info) |
m |
||
Line 6: | Line 6: | ||
bone$ '''cd /var/lib/cloud9''' | bone$ '''cd /var/lib/cloud9''' | ||
bone$ '''git pull''' | bone$ '''git pull''' | ||
+ | |||
+ | * Edit ~/.c9/user.settings and add inside the {}'s | ||
+ | |||
+ | "init.js": { | ||
+ | "json()": "// You can access plugins via the 'services' global variable\n/*global services, plugin*/\n\n// to load plugins use\nservices.pluginManager.loadPackage([\n \"/.c9/plugins/beagle.bone101/package.json\",\n \"/.c9/plugins/c9.ide.preview.markdown/package.json\",\n]);\n" | ||
+ | } | ||
* Use '''Cloud9->Open Your Init Script''' and enter: | * Use '''Cloud9->Open Your Init Script''' and enter: |
Latest revision as of 13:55, 5 September 2019
Embedded Linux Class by Mark A. Yoder
Here's how to get MarkDown (https://daringfireball.net/projects/markdown/) working in Cloud9 (https://aws.amazon.com/cloud9/).
bone$ cd /var/lib/cloud9 bone$ git pull
- Edit ~/.c9/user.settings and add inside the {}'s
"init.js": { "json()": "// You can access plugins via the 'services' global variable\n/*global services, plugin*/\n\n// to load plugins use\nservices.pluginManager.loadPackage([\n \"/.c9/plugins/beagle.bone101/package.json\",\n \"/.c9/plugins/c9.ide.preview.markdown/package.json\",\n]);\n" }
- Use Cloud9->Open Your Init Script and enter:
services.pluginManager.loadPackage([ "/.c9/plugins/beagle.bone101/package.json", "/.c9/plugins/c9.ide.preview.markdown/package.json", ]);
- Hit Save
- Hit Ctrl-Enter
- Open a file ending in
.md
- Click Preview (left of the top RUN button)
- Select Live Preview File
Embedded Linux Class by Mark A. Yoder