CodeBlock holds the optional title and content of a code block.
| 6 | |
| 7 | // CodeBlock holds the optional title and content of a code block. |
| 8 | type CodeBlock struct { |
| 9 | Title string |
| 10 | Content string |
| 11 | } |
| 12 | |
| 13 | func extractCodeBlocksWithTitle(markdown string) []CodeBlock { |
| 14 | var blocks []CodeBlock |
nothing calls this directly
no outgoing calls
no test coverage detected