An open API service indexing awesome lists of open source software.

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.

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 information

Slide 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:
![Picture of present slideshow](_assets/present_screenshot.png)