wintersmith-stylus

stylus plugin for wintersmith

Usage no npm install needed!

<script type="module">
  import wintersmithStylus from 'https://cdn.skypack.dev/wintersmith-stylus';
</script>

README

wintersmith-stylus

stylus plugin for wintersmith.

Now works with nib.

Install:

Using wintersmith:

wintersmith plugin install stylus

Using npm:

npm install wintersmith-stylus -g then add wintersmith-stylus to your plugins in the wintersmith config

or locally,

npm install wintersmith-stylus

then add ./node_modules/wintersmith-stylus/ to config.json like:

{
  "locals": {
    "url": "http://localhost:8080",
    "name": "The Wintersmith's blog",
    "owner": "The Wintersmith",
    "description": "-32°C ain't no problems!",
    "index_articles": 3
  },
  "plugins": [
    "./node_modules/wintersmith-stylus/"
  ]
}

Test

Test is written using Mocha. Install it globally, then run

$ mocha