Created
October 25, 2020 04:32
-
-
Save orange634nty/54ae4c4424dd1d7bd01b0a484979449f to your computer and use it in GitHub Desktop.
Marpを使うときに使ってるMakefile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
help: ## ヘルプを表示します | |
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}' | |
build_html: ## Markdownからhtmlをビルドします | |
npx @marp-team/marp-cli silde.md | |
build_pdf: ## Markdownからpdfをビルドします | |
npx @marp-team/marp-cli silde.md --pdf | |
server: ## ローカルサーバーを起動させます | |
npx @marp-team/marp-cli -w -s . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment