'Julia Markdown - how to execute Code inline

I have Markdown code in Julia and I want to include the result of some code. The Julia documentation explains how to do that in a code block...

```julia
some code
```

...but it doesn't tell how to do it inline.



Solution 1:[1]

As explained in the documentation of Weave.jl you can do

`j juliacode`

or

! juliacode

with the latter executing the whole line after !.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Georgery