Created
March 22, 2022 21:15
-
-
Save nutjob4life/da4179e141739942478173be991842d5 to your computer and use it in GitHub Desktop.
"pandoc" demonstration
This file contains hidden or 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
SOURCE = Uploading-Data-to-LabCAS.md | |
TARGETS = sftp.docx sftp.html sftp.pdf sftp.textile | |
all: $(TARGETS) | |
sftp.docx: $(SOURCE) | |
pandoc --from=markdown --to=docx --output=sftp.docx $(SOURCE) | |
sftp.html: $(SOURCE) | |
pandoc --standalone --from=markdown --to=html --output=sftp.html $(SOURCE) | |
sftp.pdf: $(SOURCE) | |
pandoc --pdf-engine=wkhtmltopdf --standalone --from=markdown --to=pdf --output=sftp.pdf $(SOURCE) | |
sftp.textile: $(SOURCE) | |
pandoc --from=markdown --to=html --output=sftp.textile $(SOURCE) | |
clean: | |
rm -f $(TARGETS) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment