Skip to content

Commit ca44bcf

Browse files
committed
add pandoc metadata
1 parent bb7f5e1 commit ca44bcf

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

Makefile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
1+
INPUT_FILE = README.md
2+
OUTPUT_FILE = artifacts/python-for-coding-interview.pdf
3+
14
.PHONY: linter
25
linter:
36
markdownlint README.md --disable MD013
47

58
.PHONY: pdf
69
pdf:
7-
pandoc README.md -V geometry:margin=1in --pdf-engine=xelatex -o artifacts/python-for-coding-interview.pdf
10+
pandoc $(INPUT_FILE) \
11+
--pdf-engine=xelatex \
12+
-M date="`date "+%B%e, %Y"`" \
13+
-o $(OUTPUT_FILE)

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
# Python for coding interviews
1+
---
2+
title: Python for Coding Interviews
3+
subtitle: <https://github.com/mmicu/python-for-coding-interviews>
4+
geometry: margin=1in
5+
---
6+
7+
# Introduction
28

39
List of several and useful `Python` data structures to know for coding interviews.
410

0 commit comments

Comments
 (0)