{"id":16237339,"url":"https://github.com/declanbyrd/eleventy-presentation","last_synced_at":"2025-10-20T06:19:24.239Z","repository":{"id":56615471,"uuid":"306269078","full_name":"declanbyrd/eleventy-presentation","owner":"declanbyrd","description":"Generate an interactive presentation from markdown files using 11ty","archived":false,"fork":false,"pushed_at":"2020-10-28T17:52:49.000Z","size":1410,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-14T05:42:30.138Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/declanbyrd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-22T08:17:30.000Z","updated_at":"2021-11-02T15:09:16.000Z","dependencies_parsed_at":"2022-08-15T22:00:47.180Z","dependency_job_id":null,"html_url":"https://github.com/declanbyrd/eleventy-presentation","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/declanbyrd%2Feleventy-presentation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/declanbyrd%2Feleventy-presentation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/declanbyrd%2Feleventy-presentation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/declanbyrd%2Feleventy-presentation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/declanbyrd","download_url":"https://codeload.github.com/declanbyrd/eleventy-presentation/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247808514,"owners_count":20999746,"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-10-10T13:35:23.159Z","updated_at":"2025-10-20T06:19:19.188Z","avatar_url":"https://github.com/declanbyrd.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 11ty Presentations\n\n## Overview\n\n- Each slide is its own markdown file located in [`src/content/slides`](/src/content/slides) and named after its position in the presentation (e.g. the file `0.md` is the first slide).\n- Each slide contains one piece of frontmatter that determines the layout of the slide. The `layoutTemplate` property takes an array of strings which are mapped to CSS classes.\n- 11ty creates a collection containing all markdown files in `src/content/slides`.\n- `src/index.njk` uses nunjucks templating to map each slide in the collection to a HTML `\u003carticle\u003e`.\n\n## Summary of `package.json` scripts\n\n- `yarn dev` - Run the development server.\n- `yarn build` - Generates the presentation inside the `dist` folder.\n\n## Keyboard navigation in the presentation\n\n- \u003ckbd\u003e\u0026#8592;\u003c/kbd\u003e - Previous slide.\n- \u003ckbd\u003e\u0026#8594;\u003c/kbd\u003e or \u003ckbd\u003espace\u003c/kbd\u003e - Next Slide\n\n### Disabling space bar navigation\n\nIf the slide contains an interactive element that requries the use of the spacebar for functionality, the spacebar navigation can be disabled for that slide by adding `'no-spacebar'` to the layoutTemplate array in the slide's markdown file.\n\n## Adding React components to slides\n\n- All React logic is located in `src/react`.\n- Each component has its own folder.\n- `app.js` is used to render each component using `ReactDOM.render`.\n- Markdown files that use React components will include:\n\n  ```html\n  \u003cdiv class=\"react-container\" id=\"counter\"\u003e\u003c/div\u003e\n  ```\n\n  Where the id is the name of the component.\n\n## Slide Layouts\n\nThe currently supported layouts are:\n\n- title-slide\n- vertical-split\n- header-and-content\n- no-spacebar\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeclanbyrd%2Feleventy-presentation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeclanbyrd%2Feleventy-presentation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeclanbyrd%2Feleventy-presentation/lists"}