Presentex

A HTML based presentation framework for Elixir.

Why use Presentex?

License Information

Usage

Add the dependency to your mix.exs file:

  defp deps do
    [{:presentex, "~> 0.0.3"}]
  end

Make sure that you do not use version 0.0.1, it will not work.

  Do *NOT* use version 0.0.1, it is known to be buggy.

You can create Presentex presentations using the standard Elixir tool mix.

Then simply open the <output-dir>/index.html file in your browser. No internet connection is required.

Slides

The slides all belong in one file. They are separated by commas.

View a sample slide file at test/sample_slides.ex

The generated output of test/sample_slides.ex is also checked in under the sample directory.

The slide types are:

Title with subtitle

  [title: "Elixir for noobs", subtitle: "A better way to program"]

Title only

  [title: "New Features"]

Paragraph of text

  "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
  tempor incididunt ut labore et dolore magna aliqua."

Bullet list of items

  ["Improved error handling", "Fixed memory leak in mysql driver",
    "Added UTF-8 support in library"]

A quote

  [blockquote: "To code, or not to code. That is a dumb question.",
    author: "Bryan Weber"]

Elixir code

  Source.code(

      defmodule Ticket do
        def process(tkt, new_status) do
          tkt
          |> Workflow.Engine.status
          |> Workflow.Engine.transition new_status
        end
      end

  )

Raw HTML

  <div>
    <blink>We don&#39;t miss these days...</blink>
  </div>

Release Notes

0.0.4

Added documentation

0.0.3

Added [elixir: "<source>"] slide type.

0.0.2

Added mix task that generates the presentation based on the slides input.

0.0.1

Buggy release, do NOT use this version.