This is not an article.
-
-
Save shancarter/630ad3183b93879880b0fbef93b22184 to your computer and use it in GitHub Desktop.
dumb test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import contents from './article.md'; | |
class MyArticle extends HTMLElement { | |
createdCallback() { | |
this.innerHTML = contents; | |
} | |
} | |
export default MyArticle; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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