Adding syntax highlight to ZeppelinContext doc page
Project: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/commit/251620e7 Tree: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/tree/251620e7 Diff: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/diff/251620e7 Branch: refs/heads/gh-pages Commit: 251620e792f9667c1a67b95b5161ac88d61d3959 Parents: b44d25c Author: Alexander Bezzubov <[email protected]> Authored: Wed Feb 4 11:14:12 2015 +0900 Committer: Alexander Bezzubov <[email protected]> Committed: Wed Feb 4 11:14:12 2015 +0900 ---------------------------------------------------------------------- docs/zeppelincontext.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/blob/251620e7/docs/zeppelincontext.md ---------------------------------------------------------------------- diff --git a/docs/zeppelincontext.md b/docs/zeppelincontext.md index 1a9660f..b6f27dd 100644 --- a/docs/zeppelincontext.md +++ b/docs/zeppelincontext.md @@ -17,7 +17,7 @@ It provies following function and references. ZeppelinContext provides reference to SparkContext and SQLContext with some shortcut function. -``` +```scala /* reference to SparkContext */ z.sc @@ -34,7 +34,7 @@ z.sql("select * from ...") ZeppelinContext provides series of functions that loads jar library from local FS or Remote Maven repository. Loaded library is automatically added into Scala interpreter and SparkContext. -``` +```scala /* Load a library from local FS */ z.load("/path/to/your.jar") @@ -61,7 +61,7 @@ z.loadAndDist("groupId:artifactId:version", true) ZeppelinContext also provides functions for creating forms. To learn more about dynamic form, checkout [Dynamic Form](./dynamicform.html). -``` +```scala /* Create text input form */ z.input("formName")
