Skip to content
This repository was archived by the owner on Jun 1, 2022. It is now read-only.

Commit 79e4df4

Browse files
committed
added builder
1 parent 0d46ed9 commit 79e4df4

File tree

3 files changed

+18
-1
lines changed

3 files changed

+18
-1
lines changed

index.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@
2424
</style>
2525
</head>
2626
<body>
27-
<h1>OPEN Open Source</h1>
27+
28+
<h1 id="open-open-source">OPEN Open Source</h1>
29+
<h2 id="work-in-progress">work in progress</h2>
30+
2831
</body>
2932
</html>

index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# OPEN Open Source
2+
3+
## work in progress

package.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"name": "openopensource.github.io",
3+
"version": "0.0.0",
4+
"description": "http://openopensource.org",
5+
"scripts": {
6+
"start": "node -e \"fs = require('fs'); b = require('brucedown'); b(fs.readFileSync(__dirname + '/index.md', 'utf8'), function (err, html) { if (err) throw err; fs.writeFileSync('index.html',fs.readFileSync('index.html', 'utf8').replace(/<body>[\\\\s\\\\S]*<\\\\/body>/gmi, '<body>\\\\n\\\\n' + html + '\\\\n</body>'), 'utf8') });\""
7+
},
8+
"dependencies": {
9+
"brucedown": "^0.1.1"
10+
}
11+
}

0 commit comments

Comments
 (0)