mirror of
https://github.com/frainfreeze/the-monospace-web-pandoc
synced 2026-02-27 16:51:57 -08:00
make publishable to NPM
This commit is contained in:
3
Makefile
3
Makefile
@@ -1,3 +1,4 @@
|
|||||||
|
VERSION=$(shell jq -r .version package.json)
|
||||||
|
|
||||||
all: index.html
|
all: index.html
|
||||||
|
|
||||||
@@ -5,6 +6,6 @@ clean:
|
|||||||
rm -f index.html
|
rm -f index.html
|
||||||
|
|
||||||
index.html: index.md template.html Makefile
|
index.html: index.md template.html Makefile
|
||||||
pandoc --toc -s --css reset.css --css index.css -i $< -o $@ --template=template.html
|
pandoc --toc -s --css reset.css --css index.css -Vversion=v$(VERSION) -i $< -o $@ --template=template.html
|
||||||
|
|
||||||
.PHONY: all clean
|
.PHONY: all clean
|
||||||
|
|||||||
11
index.html
11
index.html
@@ -18,7 +18,7 @@
|
|||||||
<span class="subtitle">A minimalist design exploration</span>
|
<span class="subtitle">A minimalist design exploration</span>
|
||||||
</td>
|
</td>
|
||||||
<th>Version</th>
|
<th>Version</th>
|
||||||
<td class="width-min">v0.1.1</td>
|
<td class="width-min">v0.1.2</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Updated</th>
|
<th>Updated</th>
|
||||||
@@ -61,7 +61,7 @@ responsive, shrinking in character-sized steps. Standard elements should
|
|||||||
<em>just work</em>, at least that’s the goal. It’s semantic HTML,
|
<em>just work</em>, at least that’s the goal. It’s semantic HTML,
|
||||||
rendered as if we were back in the 70s.</p>
|
rendered as if we were back in the 70s.</p>
|
||||||
<p>All right, but is this even a good idea? It’s a technical and
|
<p>All right, but is this even a good idea? It’s a technical and
|
||||||
creative challenge and I like the aesthetic. If you’d like to use it,
|
creative challenge and I like the aestethic. If you’d like to use it,
|
||||||
feel free to fork or copy the bits you need, respecting the license. I
|
feel free to fork or copy the bits you need, respecting the license. I
|
||||||
might update it over time with improvements and support for more
|
might update it over time with improvements and support for more
|
||||||
standard elements.</p>
|
standard elements.</p>
|
||||||
@@ -203,10 +203,11 @@ Save
|
|||||||
name <input type="text" placeholder="Text goes here..." /></label>
|
name <input type="text" placeholder="Text goes here..." /></label>
|
||||||
<label>Age <input type="text" value="30" /></label>
|
<label>Age <input type="text" value="30" /></label>
|
||||||
</form>
|
</form>
|
||||||
|
<p>And radio buttons:</p>
|
||||||
<form class="grid">
|
<form class="grid">
|
||||||
<label><input name="radio" type="radio" /> One</label>
|
<label><input name="radio" type="radio" /> Option #1</label>
|
||||||
<label><input name="radio" type="radio" /> Two</label>
|
<label><input name="radio" type="radio" /> Option #2</label>
|
||||||
<label><input name="radio" type="radio" /> Three</label>
|
<label><input name="radio" type="radio" /> Option #3</label>
|
||||||
</form>
|
</form>
|
||||||
<h2 id="grids">Grids</h2>
|
<h2 id="grids">Grids</h2>
|
||||||
<p>Add the <code>grid</code> class to a container to divide up the
|
<p>Add the <code>grid</code> class to a container to divide up the
|
||||||
|
|||||||
1
index.md
1
index.md
@@ -6,7 +6,6 @@ author-url: "https://wickstrom.tech"
|
|||||||
date: 2024-08-26
|
date: 2024-08-26
|
||||||
lang: en
|
lang: en
|
||||||
toc-title: Contents
|
toc-title: Contents
|
||||||
version: v0.1.2
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Introduction
|
## Introduction
|
||||||
|
|||||||
22
package.json
Normal file
22
package.json
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
{
|
||||||
|
"name": "@owickstrom/the-monospace-web",
|
||||||
|
"version": "0.1.2",
|
||||||
|
"description": " A minimalist design exploration",
|
||||||
|
"main": "index.css",
|
||||||
|
"scripts": {
|
||||||
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
|
},
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "git+ssh://git@github.com/owickstrom/the-monospace-web.git"
|
||||||
|
},
|
||||||
|
"keywords": [
|
||||||
|
"css"
|
||||||
|
],
|
||||||
|
"author": "Oskar Wickström",
|
||||||
|
"license": "MIT",
|
||||||
|
"bugs": {
|
||||||
|
"url": "https://github.com/owickstrom/the-monospace-web/issues"
|
||||||
|
},
|
||||||
|
"homepage": "https://github.com/owickstrom/the-monospace-web#readme"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user