Add example, tweak Makefile

master
subnixr 2017-06-03 16:34:07 +02:00
parent d6df7eebb0
commit 0a7fae10a4
4 changed files with 20 additions and 1 deletions

1
.gitignore vendored 100644
View File

@ -0,0 +1 @@
pdf/

View File

@ -2,7 +2,7 @@ PDFDIR = pdf
SRCDIR = src
PANDOC = pandoc
PANDOCFLAGS =
PANDOCFLAGS = -f markdown -t latex
SRCS = $(shell find $(SRCDIR) -type f -iname '*.md')
PDFS = $(patsubst $(SRCDIR)/%.md,$(PDFDIR)/%.pdf,$(SRCS))

BIN
assets/logo.png 100644

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

18
src/example.md 100644
View File

@ -0,0 +1,18 @@
# Titolo
![logo](assets/logo.png)
## Sottotitolo
Paragrafo
1. uno
2. due
3. tre
Sintassi latex:
$$
\sum^{\infty}_{n = 1} n = \frac{n(n + 1)}{2}
$$