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