https://github.com/soypat/taller-go
Presentación y código fuente para el taller de Go.
https://github.com/soypat/taller-go
golang ieee seminario-go slide slides spanish wie-ieee
Last synced: 7 months ago
JSON representation
Presentación y código fuente para el taller de Go.
- Host: GitHub
- URL: https://github.com/soypat/taller-go
- Owner: soypat
- Created: 2020-11-01T19:50:13.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2022-04-18T22:13:26.000Z (over 3 years ago)
- Last Synced: 2025-01-08T12:40:26.158Z (9 months ago)
- Topics: golang, ieee, seminario-go, slide, slides, spanish, wie-ieee
- Language: HTML
- Homepage:
- Size: 2.29 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Taller de go
Uses [go-presentx](https://github.com/soypat/go-presentx) tool. Install it and run the following in directory with `./templates` and `./static` folders:
```console
go-presentx
```## Creating presentations using `present`
[Full documentation can be found here](https://godoc.org/golang.org/x/tools/present)First two blocks are structure information on
1. The presentation and metadata
- **Important**: first line defines if markdown or legacy formatting is used. If first character is `#`, markdown is used. These protips are for **markdown!**
2. Authors and contact informationSlide formatting
* `## theTitle` initializes a new slide with `theTitle` header
* Content goes under the double hash tag. i.e.
* `": "` starts an orator note. By running `present -notes` one has access to these notes in a fancy popup window by pressing `n`
```
## A new slide
Been working on slides. Here's a bullet point list:
- Point 1
- indented point
- more points
: these are orator notes and are collected
// this is a comment and is 100% ignored
### This is a subsection.
#### This is a sub-subsection
tab indented text is preformatted (4 spaces works too)
```
* one can also use built-in commands for images, code, videos by starting a line with a period followed by the command.```
## command slide
// following code shows image with 200 pixel width and maintaining aspect ratio.
.image https://golang.org/lib/godoc/images/go-logo-blue.svg 200 _
```## How to install `go-present` with syntax highlighting
Requires:
* [Go](https://golang.org)Clone [`github.com/soypat/go-presentx`](https://github.com/soypat/go-presentx) to a folder.
On folder run from command line
```console
go install .
```To run:
```bash
go-presentx
```## Installing Go's official `present`
On windows
On windows/linux/mac
```
go install golang.org/x/tools/cmd/present
```
## How to run presentation
Change directory to this repo and run in command:
```
present
```open browser to [http://127.0.0.1:3999](http://127.0.0.1:3999) to browse slides.
Should look something like this:
