EBC Exercise 02 Cloud9 MarkDown

From eLinux.org
Revision as of 13:55, 5 September 2019 by Yoder (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

thumb‎ 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

thumb‎ Embedded Linux Class by Mark A. Yoder