User pandoc instead of py-markdown
This commit is contained in:
parent
f60cfff94a
commit
9b172738db
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -61,7 +61,7 @@ $(TEMPLATE_FAB_DIR)/gerbers_%.zip: $(BOARD_PATH)/$(BOARD).kicad_pcb
|
|||
# Convert .md → build/.html using python-markdown
|
||||
build/%.html: %.md
|
||||
@mkdir -p build
|
||||
python3 -m markdown $< > $@
|
||||
pandoc -f gfm -t html5 --standalone --metadata=title:"$*" "$<" -o "$@"
|
||||
|
||||
build/%.html.j2: $(TEMPLATE_SRC_DIR)/%.html.j2
|
||||
@mkdir -p build
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue