(opts *PreviewOptions, filePath, content string)
| 382 | } |
| 383 | |
| 384 | func renderSelectedFilePreview(opts *PreviewOptions, filePath, content string) string { |
| 385 | if !isMarkdownFile(filePath) { |
| 386 | return content |
| 387 | } |
| 388 | |
| 389 | return opts.renderFile(filePath, content) |
| 390 | } |
| 391 | |
| 392 | func renderMarkdownPreview(io *iostreams.IOStreams, filePath, content string) string { |
| 393 | if filePath == "SKILL.md" { |
no test coverage detected