I prefer outputting errors directly into the slide. Left _ -> ""Īs you can see in the Left case at the bottom, I’m not throwing or emitting errors. choice ) "" (unpack text)) of Right thing -> thing intercalate " " (map rightParse (splitOn " " text)) ParsecT String () Identity String emphParser = do Parsec. After writing a Markdown parser for bear-note-graph (using custom parser combinators), it was a no-brainer to rewrite this AWK mess into an extendable system.ĮmphParser :: Parsec. The AWK code was not ready to handle variable footers and several features I had to use for my presentation at Spark+AI summit 2020. With it I was able to export the initial versions of my PySpark talk. As such, it is very tied to how I format my presentations, and only offers features I use. I wrote the script to be able to share my presentations with animated GIFs (which don’t show in the PDF export from Deckset). Footnotesįor more details on the citation guidelines of the American Psychological Association check out their website.Haskset: Deckset presentations in reveal.js Septem7 minutes read | 1286 words by Ruben BerenguelĪfter my happy experience with Haskell rewriting the ticketiser from Python to Haskell, I moved next on my list of rewrites.Ī year or so ago I wrote a script in AWK that transformed a Markdown presentation formatted for Deckset into a Markdown presentation that Pandoc can convert into a reveal.js presentation, awkrdeck. You can use the HTML tag to insert line breaks in elements that cannot contain regular new lines, such as headings or footers. adapter_method ) raise AdapterNotFound, "database configuration specifies nonexistent #, to_sym resolver = ConnectionAdapters:: ConnectionSpecification:: Resolver. Use GitHub style fenced code blocks to specify the language.ĭef establish_connection ( spec = nil ) spec ||= DEFAULT_ENV. Use the same layout modifiers as with images to control the positioning of videos.Ĭontrol video playback by using one of those directives: Use the left or right modifiers to place the image in the left or right half of the slide, respectively.Ĭombine left or right with the fit keyword or a percentage to adjust the image scaling. Setting text on images applies a filter to the image to make the text more readable. Prefix the author of the quote with -, or leave it out if it's anonymous. You can also use a quote together with paragraph text or other elements on the slide: The best way to predict the future is to invent it Play with it - some themes have additional style options for those combinations: Or use double underscores for the alternative strong emphasis style.Ĭombining underscores with asterisks lets us mix and match the emphasis styles. Wrap text in single underscores to emphasize it. Or use double asterisks for an strong emphasis style.Īlternatively, you can also use underscores to emphasize: Use single asterisks around text to emphasise it. Otherwise lines will follow on directly like this. You can include a paragraph break by leaving an empty line between the paragraphs. Use a blank line in between text to start a new paragraph. To start a new slide, simply put three dashes ( -) on a single line, with an empty line above and below. Combine headings with paragraph text and other elements like lists:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |