10000 init · kkCode/github-markdown-css@4c84b3c · GitHub
[go: up one dir, main page]

Skip to content

Commit 4c84b3c

Browse files
committed
init
0 parents  commit 4c84b3c

17 files changed

+1459
-0
lines changed

.editorconfig

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# editorconfig.org
2+
root = true
3+
4+
[*]
5+
indent_style = tab
6+
end_of_line = lf
7+
charset = utf-8
8+
trim_trailing_whitespace = true
9+
insert_final_newline = true
10+
11+
[package.json]
12+
indent_style = space
13+
indent_size = 2
14+
15+
[*.md]
16+
trim_trailing_whitespace = false

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

.jshintrc

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
< 10000 /code>1+
{
2+
"node": true,
3+
"esnext": true,
4+
"bitwise": true,
5+
"camelcase": true,
6+
"curly": true,
7+
"eqeqeq": true,
8+
"immed": true,
9+
"indent": 4,
10+
"newcap": true,
11+
"noarg": true,
12+
"quotmark": "single",
13+
"regexp": true,
14+
"undef": true,
15+
"unused": true,
16+
"strict": true,
17+
"trailing": true,
18+
"smarttabs": true
19+
}

.travis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
language: node_js
2+
node_js:
3+
- '0.10'
4+
branches:
5+
only:
6+
- gh-pages

bower.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"name": "github-markdown-css",
3+
"description": "The minimal amount of CSS to replicate the GitHub Markdown style",
4+
"license": "MIT",
5+
"main": "github-markdown.css",
6+
"keywords": [
7+
"github",
8+
"markdown",
9+
"md",
10+
"css",
11+
"style",
12+
"stylesheet"
13+
],
14+
"ignore": [
15+
"**/.*",
16+
"component.json",
17+
"package.json",
18+
"test.js",
19+
"index.js",
20+
"cli.js",
21+
"index.html",
22+
"screenshot.png",
23+
"fixture.md"
24+
]
25+
}

cli.js

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
#!/usr/bin/env node
2+
'use strict';
3+
var pkg = require('./package.json');
4+
var githubMarkdownCss = require('./index');
5+
var input = process.argv[2];
6+
7+
function help() {
8+
console.log(pkg.description);
9+
console.log('');
10+
console.log('Usage');
11+
console.log(' $ github-markdown-css > <filename>');
12+
}
13+
14+
if (process.argv.indexOf('-h') !== -1 || process.argv.indexOf('--help') !== -1) {
15+
help();
16+
return;
17+
}
18+
19+
if (process.argv.indexOf('-v') !== -1 || process.argv.indexOf('--version') !== -1) {
20+
console.log(pkg.version);
21+
return;
22+
}
23+
24+
githubMarkdownCss(function (err, css) {
25+
if (err) {
26+
throw err;
27+
}
28+
29+
console.log(css);
30+
});

component.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"name": "github-markdown-css",
3+
"version": "0.0.0",
4+
"description": "The minimal amount of CSS to replicate the GitHub Markdown style",
5+
"license": "MIT",
6+
"repository": "sindresorhus/github-markdown-css",
7+
"styles": [
8+
"github-markdown.css"
9+
],
10+
"keywords": [
11+
"github",
12+
"markdown",
13+
"md",
14+
"css",
15+
"style",
16+
"stylesheet"
17+
]
18+
}

0 commit comments

Comments
 (0)
0