Visual Studio Code extension for conversion of elearn.js Markdown to HTML and PDF
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/ISSUE_TEMPLATE Initial Commit Jun 30, 2018
.vscode feat/vscode: add extension tasks/launch options Oct 21, 2018
assets feat/OptionMenu: display fixes, scroll to top Nov 5, 2018
scripts
src feat/SaveLocations: save locations before conversion Nov 6, 2018
styles feat/OptionMenu: display fixes, scroll to top Nov 5, 2018
.gitattributes Update .gitattributes, exclude .css (generated) Oct 18, 2018
.gitignore feat/vscode: add extension tasks/launch options Oct 21, 2018
.jshintrc feat/chromium: added progress bar to download indicator Oct 23, 2018
.vscodeignore feat/chromium: automatically download chromium Oct 21, 2018
CHANGELOG.md Update all dependencies Dec 6, 2018
LICENSE Initial Commit Jun 30, 2018
PULL_REQUEST_TEMPLATE.md Initial Commit Jun 30, 2018
README.md
package-lock.json 1.0.14 Dec 6, 2018
package.json 1.0.14 Dec 6, 2018
tsconfig.json refa/strict: no explicit use strict, implicit in tsconfig Nov 5, 2018
tslint.json refa/tslist: update settings/code Jun 30, 2018

README.md

vsc-elearnjs

This package converts Markdown files to HTML and PDF and is specifically designed to use elearn.js for styling and interactive elements.

Create a simple elearn.js based script in no time!

Installation

Simply search for vsc-elearnjs in VSCodes's Extensions view to install this package.

Usage

In VSCode open your Markdown file. Afterwards you can do any of the following:

  • Right-Click in the editor window or on the file in the tree view and choose elearn.js - to HTML or elearn.js - to PDF
  • you can also use Save as... in the menus described above to select an output location
  • Convert with hotkeys:
    • To HTML: ctrl+alt+o (or cmd+alt+o on a Mac)
    • To PDF: ctrl+alt+p (or cmd+alt+p on a Mac)

All locations will be stored by their output type and the markdown file and will only be overwritten when Save as... (described above) is used.

Markdown syntax is supported based on Showdown's features. If you want to use specific elearn.js features check the extended documentation.

Extended Documentation

Check our wiki pages for examples and detailed documentation.

There are also useful hints for beginners or troubleshooting.

Known Issues

  • All platforms:
    • PDF output might be slow
      • consider keeping Chrome alive after the first export (check settings)

Credits

License

vsc-elearnjs is developed by dl.min of Universität Hamburg.

The software is using MIT-License.

cc-by Michael Heinecke, Arne Westphal, dl.min, Universität Hamburg