1.0.0 • Published 7 years ago

coderdojorotterdam-workshop-core v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
7 years ago

CoderDojo Workshop Core

A basic workshop package that converts Markdown to PDF using CoderDojo Rotterdam (SF) theming.

Install

  • Create a new repository that holds your manual
  • Initialize a new node project by running: npm init -y
  • Pull in this core dependency by running: npm install coderdojorotterdam-workshop-core --save

Config

In your package.json you can override the input and output files by adding this segment to it:

  "coderdojo_workshop_options": {
    "file_in": "love2d_lua_installatie.md",
    "file_out": "love2d_lua_installatie.pdf"
  }

Run

To run the converter, easiest thing is to link to the .bin/core in the package.json start script like so:

  "scripts": {
    "start": "./node_modules/.bin/core"
  }

Run npm start to start the conversion.

Examples

To get a general idea on how to use this, have a look at some examples:

  • Installing Love2D, Lua & Atom
  • Building Pong using Love2D and Lua

Components

All markdown tags are supported as well as custom styling using HTML / CSS. For available CSS classes have a look in our CSS file.

License

MIT

1.0.0

7 years ago