Basic Display System in Apache Zeppelin

Text

By default, Apache Zeppelin prints interpreter response as a plain text using text display system.

You can explicitly say you're using text display system.

Html

With %html directive, Zeppelin treats your output as HTML

Mathematical expressions

HTML display system automatically formats mathematical expression using MathJax. You can use \$$INLINE EXPRESSION \$$ and $$EXPRESSION$$ to format. For example

Table

If you have data that row separated by \n (newline) and column separated by \t (tab) with first row as header row, for example

You can simply use %table display system to leverage Zeppelin's built in visualization.

If table contents start with %html, it is interpreted as an HTML.

Note : Display system is backend independent.