We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57fab47 commit 7d34a53Copy full SHA for 7d34a53
packages/javascript-kernel/src/executor.ts
@@ -878,6 +878,15 @@ export class JavaScriptExecutor {
878
detailLevel
879
);
880
881
+ // Add predefined documentation if available
882
+ const doc = this.getBuiltinDocumentation(expression);
883
+ if (doc) {
884
+ const mdContent = inspectionData['text/markdown'] || '';
885
+ inspectionData['text/markdown'] = mdContent + `\n\n---\n\n${doc}`;
886
+ const plainContent = inspectionData['text/plain'] || '';
887
+ inspectionData['text/plain'] = plainContent + `\n\nDoc: ${doc}`;
888
+ }
889
+
890
return {
891
status: 'ok',
892
found: true,
0 commit comments