OhMyREPL.jl icon indicating copy to clipboard operation
OhMyREPL.jl copied to clipboard

"Script" jldoctest stripped in `help>`

Open agerlach opened this issue 3 years ago • 0 comments

When using "script" jldoctest the codeblock is being remove from the help prompt. This is not an issue when using REPL jldoctest. Removing OhMyREPL resolves the issue.

module Foo   
"""
# Examples
```jldoctests
hello()

#output

"Hello World!"
```
"""
hello() = "Hello World!"
export hello
end
help?> Foo.hello
  Examples
  ≡≡≡≡≡≡≡≡≡≡

julia> 

while

module Foo   
"""
# Examples
```jldoctests
julia> hello()
"Hello World!"
```
"""
hello() = "Hello World!"
export hello
end
help?> Foo.hello
  Examples
  ≡≡≡≡≡≡≡≡≡≡

  hello()
  "Hello World!"

agerlach avatar Feb 10 '22 21:02 agerlach