Skip to content

Commit

Permalink
update reveal-md version and pdf building
Browse files Browse the repository at this point in the history
  • Loading branch information
renefritze committed Mar 29, 2024
1 parent 66058dc commit 0b0a748
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions {{cookiecutter.directory_name}}/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
HOST_PYTHON=python
SHELL = /bin/bash

static_html/index.html: slides/{{cookiecutter.file_name}}.md slides/qr_self.png
npm run html
Expand Down Expand Up @@ -35,6 +37,4 @@ slides/qr_%.png: venv

clean:
rm -f qr_*png
mv static_html/edit .
rm -rf static_html/*
mv edit static_html/
4 changes: 2 additions & 2 deletions {{cookiecutter.directory_name}}/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"html": "./node_modules/.bin/reveal-md slides/{{cookiecutter.file_name}}.md --static {{cookiecutter.reveal_static}} ",
"watch": "./node_modules/.bin/reveal-md slides/{{cookiecutter.file_name}}.md -w",
"pdf": "node ./node_modules/decktape/decktape.js -s {{cookiecutter.reveal_pdf_size}} reveal {{cookiecutter.reveal_static}}/index.html slides/{{cookiecutter.file_name}}.pdf "
"pdf": "./node_modules/.bin/reveal-md slides/{{cookiecutter.file_name}}.md --print-size {{cookiecutter.reveal_pdf_size}} --print slides/{{cookiecutter.file_name}}.pdf "
},
"directories": {
"test": "tests"
Expand All @@ -22,7 +22,7 @@
},
"homepage": "{{cookiecutter.github_url}}#readme",
"dependencies": {
"reveal-md": "^5.3.3"
"reveal-md": "=6.1.0"
},
"optionalDependencies": {
"decktape": "^3.4.1",
Expand Down

0 comments on commit 0b0a748

Please sign in to comment.