I understand one of the notebook features is "Link this paragraph". If my
notebook has multiple paragraphs, and I want to publish a particular
paragraph to some separate webpage, I can click on the option "link this
paragraph", then get an URL that would only render the said paragraph.
Please correct me if my understanding is wrong.


However, the link I get seems to always redirect to the entire page. For
example, say I'm using the Zeppelin Tutorial notebook - and I use "link
this paragraph" on one of the paragraphs on the bottom. I put the URL in
another browser window

http://
<IP>:8080/#/notebook/2A94M5J1Z/paragraph/20150213-230428_1231780373?asIframe

and it immediately redirects to the main page


http://<IP>:8080/#/notebook/2A94M5J1Z

As another experiment, I put the URL in an iframe on a dummy HTML file. The
HTML is very basic

<html>

<body>
<h1>HELLO</h1>

<iframe 
src="http://<IP>:8080/#/notebook/2A94M5J1Z/paragraph/20150213-230428_1231780373?asIframe"
width=500px>
</iframe>
</body>
</html>

I load the HTML page with a browser, and I do see an iframe with the
content of my zeppelin notebook. However, the content shown is the
beginning of the page. I was expecting to just see the paragraph that I
want.

How do I only render a particular paragraph?

thanks
mark

Reply via email to