Sha256: cf058370b4a63fa5ae6d7dcfbb6f316c2fa713d93d70c8639d39e57bb051bc70
Contents?: true
Size: 622 Bytes
Versions: 3
Compression:
Stored size: 622 Bytes
Contents
#!/bin/bash if [[ "$DOCVERTER_API_URL" == "" ]]; then export DOCVERTER_API_URL=http://localhost:9595/convert fi curl --form from=markdown \ --form to=epub \ --form test_mode=true \ --form input_files[]=@chapter1.md \ --form input_files[]=@chapter2.md \ --form other_files[]=@metadata.xml \ --form other_files[]=@document-open.png \ --form other_files[]=@stylesheet.css \ --form epub_metadata=metadata.xml \ --form epub_cover_image=document-open.png \ --form epub_stylesheet=stylesheet.css \ $DOCVERTER_API_URL > markdown_to_epub.epub echo markdown_to_epub.epub
Version data entries
3 entries across 3 versions & 1 rubygems