소스 검색

pkg/ui: Fix godoc syntax.

Qi Xiao 1 년 전
부모
커밋
d811c8dd37
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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.