renderContextText function
Implementation
String renderContextText({required String content, required String chunkType}) {
final decoded = decodeStructuredChunkType(chunkType);
final headerPath = decoded.headerPath;
if (headerPath == null) {
return content;
}
return 'Header Path: $headerPath\n$content';
}