From ceb14fd5301a7156102b62baa9add6c2beed351a Mon Sep 17 00:00:00 2001 From: Julian T Date: Wed, 18 Sep 2019 19:46:40 +0200 Subject: Initial --- .gitignore | 1 + Makefile | 14 ++++++++++++++ index.md | 3 +++ test/test.md | 5 +++++ 4 files changed, 23 insertions(+) create mode 100644 .gitignore create mode 100644 Makefile create mode 100644 index.md create mode 100644 test/test.md diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2bf6741 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +**/*.html diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..a2fd408 --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ + +MD_FILES = $(wildcard *.md) $(wildcard */*.md) +HTML_FILES = $(patsubst %.md, %.html, $(MD_FILES)) + + +%.html: %.md + pandoc $^ --output $@ + +.PHONY: all clean + +all: $(HTML_FILES) + +clean: + rm -rf $(HTML_FILES) diff --git a/index.md b/index.md new file mode 100644 index 0000000..5354437 --- /dev/null +++ b/index.md @@ -0,0 +1,3 @@ +# Julian noter + +1. [test](test/test.html) diff --git a/test/test.md b/test/test.md new file mode 100644 index 0000000..85ef5b9 --- /dev/null +++ b/test/test.md @@ -0,0 +1,5 @@ +# Hej med dig + +Dette er en test + +To *test* -- cgit v1.2.3