split display page into text and html

This commit is contained in:
Mina Lee 2016-06-04 02:56:16 -07:00
parent 8bc5a6e321
commit 5875066a1e
4 changed files with 29 additions and 19 deletions

View file

@ -71,8 +71,8 @@
<li>
<a href="#" data-toggle="dropdown" class="dropdown-toggle">Display System <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="{{BASE_PATH}}/displaysystem/display.html">Text</a></li>
<li><a href="{{BASE_PATH}}/displaysystem/display.html#html">Html</a></li>
<li><a href="{{BASE_PATH}}/displaysystem/text.html">Text</a></li>
<li><a href="{{BASE_PATH}}/displaysystem/html.html">Html</a></li>
<li><a href="{{BASE_PATH}}/displaysystem/table.html">Table</a></li>
<li><a href="{{BASE_PATH}}/displaysystem/back-end-angular.html">Angular (backend API)</a></li>
<li><a href="{{BASE_PATH}}/displaysystem/front-end-angular.html">Angular (frontend API)</a></li>

View file

@ -0,0 +1,25 @@
---
layout: page
title: "Text/Html Display System"
description: ""
group: display
---
<!--
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
{% include JB/setup %}
## Html
With '%html' directive, Zeppelin treats your output as html
<img src="/assets/themes/zeppelin/img/screenshots/display_html.png" />

View file

@ -19,8 +19,7 @@ limitations under the License.
-->
{% include JB/setup %}
### Table
## Table
If you have data that row seprated by '\n' (newline) and column separated by '\t' (tab) with first row as header row, for example

View file

@ -18,12 +18,7 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
{% include JB/setup %}
<a name="text"> </a>
<br />
<br />
### Text
## Text
Zeppelin prints output of language backend in text, by default.
@ -34,12 +29,3 @@ You can explicitly say you're using text display system.
<img src="/assets/themes/zeppelin/img/screenshots/display_text1.png" />
Note that display system is backend independent.
<a name="html"> </a>
<br />
<br />
### Html
With '%html' directive, Zeppelin treats your output as html
<img src="/assets/themes/zeppelin/img/screenshots/display_html.png" />