language-weave icon indicating copy to clipboard operation
language-weave copied to clipboard

Log messages in julia code blocks break parsing

Open kescobo opened this issue 5 years ago • 3 comments

This text is normal

```julia
julia> @info "test"
[ Info: test
```

This text is not
Screen Shot 2019-03-23 at 2 32 59 PM

kescobo avatar Mar 23 '19 18:03 kescobo

You sure that isn't happening because of the julia> prompt or the open bracket or something like that?

pfitzseb avatar Mar 23 '19 18:03 pfitzseb

Great question. Doesn't seem to be though:

Text

```julia
julia> @info "test"
```

Text

```julia
[ Info: test
```

Text

This is looking at the scope on each of the Text lines

Screen Shot 2019-03-23 at 3 13 50 PM

kescobo avatar Mar 23 '19 19:03 kescobo

Sorry, to clarify - I think it is the open bracket in the logging output.

This causes the same problem:

```julia
[
```

Text

kescobo avatar Mar 23 '19 19:03 kescobo