Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am supertroels on github.
  • I am troels_a (https://keybase.io/troels_a) on keybase.
  • I have a public key ASDg1D1SYEAROZgvxT3u15_JGDgJOPWDgbvOu1xbEeTr4wo

To claim this, I am signing this object:

@supertroels
supertroels / markdown-frontmatter-loader.js
Created May 7, 2018 20:22
Markdown loader for webpack with support for frontmatter
"use strict";
const process = require("process");
const marked = require("marked");
const yaml = require('yaml-front-matter');
const loaderUtils = require("loader-utils");
const htmlLoader = require("html-loader");
module.exports = function(markdown) {
Verifying my Blockstack ID is secured with the address 19MVgtomko67mXmUsZzjBNtrVJPBFo7cXm https://explorer.blockstack.org/address/19MVgtomko67mXmUsZzjBNtrVJPBFo7cXm