Skip to content

Commit

Permalink
📦 current dir now default. 💅 style code
Browse files Browse the repository at this point in the history
  • Loading branch information
soypat committed Dec 5, 2020
1 parent 87503d7 commit 6c4e6d6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const basePkg = "golang.org/x/tools/cmd/present"
var (
httpAddr = flag.String("http", "127.0.0.1:3999", "HTTP service address (e.g., '127.0.0.1:3999')")
originHost = flag.String("orighost", "", "host component of web origin URL (e.g., 'localhost')")
basePath = flag.String("base", "", "base path for slide template and static resources")
basePath = flag.String("base", ".", "base path for slide template and static resources. default is current directory")
contentPath = flag.String("content", ".", "base path for presentation content")
usePlayground = flag.Bool("use_playground", false, "run code snippets using play.golang.org; if false, run them locally and deliver results by WebSocket transport")
nativeClient = flag.Bool("nacl", false, "use Native Client environment playground (prevents non-Go code execution) when using local WebSocket transport")
Expand Down
9 changes: 9 additions & 0 deletions static/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -553,3 +553,12 @@ figcaption {
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
}

code {
padding: 0.1em 0.3em;
padding-top: 0.1em;
padding-bottom: 0.2em;
background-color: antiquewhite;
font-weight: bold;
color: black;
}

0 comments on commit 6c4e6d6

Please sign in to comment.