Package: odpdown
# Generate ODP files from markdown[![PyPI version](https://badge.fury.io/py/odpdown.svg)](http://badge.fury.io/py/odpdown)[![Build Status](https://travis-ci.org/thorstenb/odpdown.svg?branch=master)](https://travis-ci.org/thorstenb/odpdown)## AttributionsOriginal Markdown Copyright (c) 2004-2005 John Gruberhttp://daringfireball.net/projects/markdown/Myself got kicked into action by seeinghttps://github.com/puppetlabs/showoff and getting terribly envious byrealizing how much of a productivity gain that would be.## MissionHave a tool like pandoc, latex beamer etc, that you can write (orauto-generate) input for within your favourite hacker's editor, andgenerate nice-looking slides from. Using your corporation's mandatory,CI-compliant and lovely-artsy Impress template. Includingsyntax-highlighted code snippets of your latest hack, auto-fitted intothe slides.## InstallationGetting ready should be a simple matter of runningpython setup.py installfrom a terminal.On Windows, run it via the command prompt (Start ‣ Accessories):setup.py installAlternatively, running `odpdown` directly from the git checkout isalso possible, provided you've installed the prerequisites (mostsignificantly mistune, lpod, pygments and pillow) manually.## TestsRun `tox` to run the test suite.## Usageusage: odpdown [-h] [-p PAGE] [-n] [-s HIGHLIGHT_STYLE][--break-master [BREAK_MASTER]][--content-master [CONTENT_MASTER]]input_md template_odp output_odpConvert markdown text into OpenDocument presentationspositional arguments:input_md              Input markdown filetemplate_odp          Input ODP template fileoutput_odp            Output ODP fileoptional arguments:-h, --help            show this help message and exit-p PAGE, --page PAGE  Append markdown after given page. Negative numberscount from the end of the slide stack. [Defaults to-1]-n, --no-autofit      Use to disable auto-shrinking font in text boxes, tofit available space.-s HIGHLIGHT_STYLE, --highlight-style HIGHLIGHT_STYLESet pygments color style for syntax-highlighting ofcode snippets. Available styles in stock pygments are:"default", "emacs", "friendly", and "colorful".[Defaults to colorful]--break-master [BREAK_MASTER]Use this master page for the 1st level headlines. Listavailable ones if called with empty or unknown name--content-master [CONTENT_MASTER]Use this master page for the 2nd level headlines andcontent. List available ones if called with empty orunknown name## Example* Stick your markdown slides into template, use _break_slides_from the template's master pages for 1st level headings, and_content_slides_  as the master page for 2nd level headings and content:odpdown \--break-master=break_slides --content-master=content_slides \slides.md corp_template.odp out_slides.odp* Stick a bunch of markdown chapters into template,after slide 1:cat intro.md deploy.md tuning.md | \odpdown -p 1 - corp_template.odp out_slides.odp* Stick a bunch of of markdown chapters into existing preso, e.g. tokeep a few hand-crafted slides inbetween:# intro comes after slide oneodpdown -p 1 into.md hand_crafted.odp out_slides.odp# deploy comes after architecture slide, which is slide 2 in# hand_crafted.md and 2+10 after intro got addedodpdown -p 12 deploy.md out_slides.odp out_slides2.odpHave a lot of fun,-- Thorsten