Skip to content

Instantly share code, notes, and snippets.

@shancarter
Forked from doug/article.md
Created August 22, 2016 18:55
Show Gist options
  • Save shancarter/630ad3183b93879880b0fbef93b22184 to your computer and use it in GitHub Desktop.
Save shancarter/630ad3183b93879880b0fbef93b22184 to your computer and use it in GitHub Desktop.
dumb test

Hello

This is not an article.

import contents from './article.md';
class MyArticle extends HTMLElement {
createdCallback() {
this.innerHTML = contents;
}
}
export default MyArticle;
{
"name": "example",
"version": "1.0.0",
"description": "Example article",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"browserify": {
"transform": [
[
"babelify",
{
"presets": [
"es2015"
]
}
],
[
"markedify"
]
]
},
"license": "MIT",
"dependencies": {
"babel-preset-es2015": "^6.13.2",
"babelify": "^7.3.0",
"markedify": "0.0.2"
},
"devDependencies": {
"browserify": "^13.1.0"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment