{"id":22647721,"url":"https://github.com/davidhintelmann/slides","last_synced_at":"2025-03-29T06:48:13.274Z","repository":{"id":156012360,"uuid":"632813011","full_name":"davidhintelmann/slides","owner":"davidhintelmann","description":"Examples for using go lang's present tool","archived":false,"fork":false,"pushed_at":"2023-05-10T04:40:49.000Z","size":48,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-03T20:03:13.434Z","etag":null,"topics":["go","golang","markdown","present","presentation","slides"],"latest_commit_sha":null,"homepage":"","language":"Go","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/davidhintelmann.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-26T07:24:38.000Z","updated_at":"2023-05-02T07:46:08.000Z","dependencies_parsed_at":"2023-07-02T02:45:54.396Z","dependency_job_id":null,"html_url":"https://github.com/davidhintelmann/slides","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidhintelmann%2Fslides","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidhintelmann%2Fslides/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidhintelmann%2Fslides/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidhintelmann%2Fslides/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidhintelmann","download_url":"https://codeload.github.com/davidhintelmann/slides/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246150409,"owners_count":20731419,"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":["go","golang","markdown","present","presentation","slides"],"created_at":"2024-12-09T07:34:21.122Z","updated_at":"2025-03-29T06:48:13.244Z","avatar_url":"https://github.com/davidhintelmann.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go Lang Slides Examples\n\nThis repo has a few examples for using [go lang's](https://go.dev/) tool [present](https://pkg.go.dev/golang.org/x/tools/present)\n\nA few things to note about this directory:\n- golangbasics.slide is from [Drashti Ved](https://github.com/drashtived03/goslides) repo, along with the assets directory and Golang-Logo.jpg\n- the present.slide and legacy.slide is taken from go lang's present tool website and slightly modified\n- hello directory has a simple hello world script written in go and this is used in a few of the slide presentations\n- slide directory has one more example to show how to override the default stylesheet to modify pagenumber order \u0026 colour\n  - presenting this directory requires Option 1, see below under **Override Style**\n\n## Installation\n\nTo use go lang's present tool you can use either option 1 or 2:\n1. install go lang and the necessary present tool\n2. use [go-talks.appspot.com](https://go-talks.appspot.com/)\n\n### Option 1\n\nInstall a stable version of [go](https://go.dev/dl/) for your operating system.\n\nAnd follow the [offical installation instructions](https://go.dev/doc/install)\n\nNow you can download and install the present tool in one step\n\n```\n$ go install golang.org/x/tools/cmd/present@latest\n```\n\nYou can go to your directory with .slide/.article file(s) written in markdown to create a slide deck to showcase go lang.\n\nAfter moving to your directory start a session to view your slides through a browser\n\n```\n$ present\n```\n\ngo to `http://127.0.0.1:3999` (default) on your favourite browser\n\n### Option 2\n\n[go-talks.appspot.com](https://go-talks.appspot.com/) site plays slide presentations and articles stored on GitHub in the legacy present format, find more about this on [present](https://pkg.go.dev/golang.org/x/tools/present) docs. This means if you want to use this option the markdown you must use * as slide titles and not #. Also markdown links must be modified.\n\nFor example the `present.slide` is using legacy present syntax and `present_local.slide` is using markdown syntax.\n\nThe syntax for URLs is:\n\n```\nhttps://go-talks.appspot.com/github.com/owner/project/file.slide\nhttps://go-talks.appspot.com/github.com/owner/project/sub/directory/file.slide\n```   \n\nThe supported file extensions (.ext) are .slide and .article but the .html command is not supported\n\n#### Example\n\nYou can present the `present.slide`, from this repo, by pasting the link below into your browser\n\n```\nhttps://go-talks.appspot.com/github.com/davidhintelmann/slides/present.slide\n```\n\nor the `golangbasics.slide`\n\n ```\nhttps://go-talks.appspot.com/github.com/davidhintelmann/slides/golangbasics.slide\n```\n\n## Override Style\n\nSince [go-talks.appspot.com](https://go-talks.appspot.com) can not use .html present command invocations you will have to present the slide directory from a local environment i.e. Option 1 above.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidhintelmann%2Fslides","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidhintelmann%2Fslides","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidhintelmann%2Fslides/lists"}