({ attributes }: PlaceholderData)
| 27 | [`${markdownFence}${language}`, code, markdownFence].join('\n'); |
| 28 | |
| 29 | const renderPackageManagerCode = ({ attributes }: PlaceholderData) => { |
| 30 | const cmd = attributes.cmd; |
| 31 | |
| 32 | return typeof cmd === 'string' |
| 33 | ? renderMarkdownCodeBlock('sh', getPackageManagerCommandBlock(cmd)) |
| 34 | : ''; |
| 35 | }; |
| 36 | |
| 37 | const normalizeProcessedMarkdown = (markdown: string) => |
| 38 | renderPlaceholder(markdown.trimStart(), { |
nothing calls this directly
no test coverage detected