Quellcode durchsuchen

pkg/ui: Fix godoc syntax.

Qi Xiao vor 1 Jahr
Ursprung
Commit
d811c8dd37
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      pkg/ui/mark_lines.go

+ 2 - 2
pkg/ui/mark_lines.go

@@ -6,9 +6,9 @@ type RuneStylesheet map[rune]Styling
 // MarkLines provides a way to construct a styled text by separating the content
 // and the styling.
 //
-// # The arguments are groups of either
+// The arguments are groups of either:
 //
-// * A single string, in which case it represents an unstyled line;
+//   - A single string, in which case it represents an unstyled line;
 //
 //   - Three arguments that can be passed to MarkLine, in which case they are passed
 //     to MarkLine and the return value is used as a styled line.