aboutsummaryrefslogtreecommitdiff
path: root/present/code.go
diff options
context:
space:
mode:
Diffstat (limited to 'present/code.go')
-rw-r--r--present/code.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/present/code.go b/present/code.go
index eb91555b7..f00f1f49d 100644
--- a/present/code.go
+++ b/present/code.go
@@ -56,7 +56,9 @@ var (
)
// parseCode parses a code present directive. Its syntax:
-// .code [-numbers] [-edit] <filename> [address] [highlight]
+//
+// .code [-numbers] [-edit] <filename> [address] [highlight]
+//
// The directive may also be ".play" if the snippet is executable.
func parseCode(ctx *Context, sourceFile string, sourceLine int, cmd string) (Elem, error) {
cmd = strings.TrimSpace(cmd)