{"id":13508665,"url":"https://github.com/Cobenian/Presentex","last_synced_at":"2025-03-30T11:32:36.530Z","repository":{"id":31443809,"uuid":"35007519","full_name":"Cobenian/Presentex","owner":"Cobenian","description":"Elixir -\u003e HTML/JavaScript based presentation framework intended for showing Elixir code","archived":false,"fork":false,"pushed_at":"2015-12-07T13:12:20.000Z","size":160,"stargazers_count":12,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-16T22:01:54.770Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Cobenian.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-04T01:21:00.000Z","updated_at":"2023-11-03T06:42:13.000Z","dependencies_parsed_at":"2022-08-29T00:41:43.548Z","dependency_job_id":null,"html_url":"https://github.com/Cobenian/Presentex","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cobenian%2FPresentex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cobenian%2FPresentex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cobenian%2FPresentex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cobenian%2FPresentex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Cobenian","download_url":"https://codeload.github.com/Cobenian/Presentex/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246314011,"owners_count":20757450,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T02:00:56.558Z","updated_at":"2025-03-30T11:32:35.737Z","avatar_url":"https://github.com/Cobenian.png","language":"CSS","funding_links":[],"categories":["Miscellaneous"],"sub_categories":[],"readme":"Presentex\n=========\n\nA HTML based presentation framework for Elixir.\n\nWhy use Presentex?\n\n* It has very simple understandable HTML, CSS and JavaScript\n* It works offline\n* It has only three dependencies\n  * jQuery\n  * highlight.js\n  * flowtype.js\n* It has a very simple way to provide Elixir code samples\n* It uses a larger default font size than most presentation frameworks\n* All slides are generated from Elixir data structures\n\n\n## License Information\n\n* presentex: [LICENSE](LICENSE)\n* highlight.js: https://github.com/isagalaev/highlight.js/blob/master/LICENSE\n* jQuery: https://github.com/jquery/jquery/blob/master/LICENSE.txt\n* flowtype.js: https://github.com/simplefocus/FlowType.JS/blob/master/LICENSE.txt\n\n# Usage\n\nAdd the dependency to your mix.exs file:\n\n```elixir\n  defp deps do\n    [{:presentex, \"~\u003e 0.0.10\"}]\n  end\n```\n\nMake sure that you do not use version 0.0.1, it will not work.\n\n```text\n  Do *NOT* use version 0.0.1, it is known to be buggy.\n```\n\nYou can create Presentex presentations using the standard Elixir tool mix.\n\n* Create a mix project if you don't have one already\n* Create a file with the content of your slides\n* Run `mix gen.presentation \u003coutput-dir\u003e \u003cslide-content-file\u003e`\n\nThen simply open the \u003coutput-dir\u003e/index.html file in your browser. No internet\nconnection is required.\n\n## Slides\n\nThe slides all belong in one file.  They are separated by commas.\n\nView a sample slide file at [test/sample_slides.ex](test/sample_slides.ex)\n\nThe generated output of test/sample_slides.ex is also checked in under the [sample](sample) directory.\n\nThe slide types are:\n\n### Title with subtitle\n\n```elixir\n  [title: \"Elixir for noobs\", subtitle: \"A better way to program\"]\n```\n\n### Heading\n\n```elixir\n  [heading: \"New Features\"]\n```\n\n### Paragraph of text\n\n```elixir\n  \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod\n  tempor incididunt ut labore et dolore magna aliqua.\"\n```\n\n### Bullet list of items\n\n```elixir\n  [\"Improved error handling\", \"Fixed memory leak in mysql driver\",\n    \"Added UTF-8 support in library\"]\n```\n\n### A quote\n\n```elixir\n  [blockquote: \"To code, or not to code. That is a dumb question.\",\n    author: \"Bryan Weber\"]\n```\n\n### Elixir code\n\nThere are three different ways to include Elixir code.\n\n```elixir\n  Source.code(\n\n      defmodule Ticket do\n        def process(tkt, new_status) do\n          tkt\n          |\u003e Workflow.Engine.status\n          |\u003e Workflow.Engine.transition new_status\n        end\n      end\n\n  )\n```\n\n```elixir\n  [elixir: \"\"\"\n\n  defmodule Foo do\n    def bar do\n      IO.puts \"quux\"\n    end\n  end\n\n  \"\"\"]\n```\n\n```elixir\n  [code: \"\"\"\n\n  defmodule Foo do\n    def bar do\n      IO.puts \"quux\"\n    end\n  end\n\n  \"\"\"]\n```\n\n### Source Code (for languages other than Elixir)\n\nThe list of supported languages can be found at [highlight.js](http://highlightjs.readthedocs.org/en/latest/css-classes-reference.html)\n\n```elixir\n  [code: \"\"\"\n\n  PrepareAlarm = fun(Room) -\u003e\n      io:format(\"Alarm set in ~s.~n\",[Room]),\n      fun() -\u003e io:format(\n                 \"Alarm tripped in ~s! Call Batman!~n\",\n                 [Room])\n      end\n  end.\n\n  \"\"\", lang: \"erlang\"]\n```\n\n### Raw HTML\n\n```html\n  \u003cdiv\u003e\n    \u003cblink\u003eWe don't miss these days...\u003c/blink\u003e\n  \u003c/div\u003e\n```\n\n## Release Notes\n\n### 0.0.10\n\nChanging title only slide type to heading.\n\n### 0.0.9\n\nChanging default style from 'idea' to 'tomorrow'.\n\n### 0.0.8\n\nFixing the font sizes to not be quite so large.\n\n### 0.0.7\n\nFixing the css so flowtype.js actually resizes text.\n\n### 0.0.6\n\nAdded flowtype.js for smarter font size handling.\n\n### 0.0.5\n\nFixed a formatting issue with Elixir source code.\n\n### 0.0.4\n\nAdded documentation\n\n### 0.0.3\n\nAdded [elixir: \"\u003csource\u003e\"] slide type.\n\n### 0.0.2\n\nAdded mix task that generates the presentation based on the slides input.\n\n### 0.0.1\n\nBuggy release, do NOT use this version.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCobenian%2FPresentex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FCobenian%2FPresentex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCobenian%2FPresentex/lists"}