The helpstdout string is the search output for related things, e.g. search: break AbstractVecOrMat, and the help object is what you show or display to see the actual help (typically it is a Markdown.MD object, but you can of course show it as text/plain, text/markdown, text/html, etc.
Just out of curiosity- why is it not possible to have julia-repl just send “? foo” to the Julia REPL (or what are the disadvantages of this? )
This seems to work (at least with N=1 test cases ) , but probably I’m missing something about the cases when one needs bracketed pasting ?
(defun julia-repl-doc2 ()
"Documentation for symbol at point."
(interactive)
(julia-repl--send-string (concat "? " (thing-at-point 'symbol t)) nil t))