Which version of zeppelin are you using?
older version had an issue with the display system showing only the first
output and then handling the rest as text. Newer version should work fine.
[image: Selection_023.png]
Eran

On Wed, Oct 7, 2015 at 11:53 AM Partridge, Lucas (GE Aviation) <
lucas.partri...@ge.com> wrote:

> Hi,
>
>
>
> If I do this in one paragraph:
>
>
>
> val name = “Bob”
>
> println(s”%html <h3>Hello $name</h3>”)
>
>
>
> I get this result:
>
> name: String = Bob
>
> %html <h3>Hello $name</h3>
>
>
>
> I wasn’t expecting that!  But if I move the println statement to a second
> paragraph and run it then I get the heading “Hello Bob” that I intended.
>
>
>
> It appears that variables defined in the same paragraph as the %html
> directive are not visible to %html.  Is this by design or a bug please?
>
> Thanks,
>
> Lucas.
>
>
>
-- 
Eran | "You don't need eyes to see, you need vision" (Faithless)

Reply via email to