GitHub user lw-lin opened a pull request:

    https://github.com/apache/spark/pull/15715

    [SPARK-18198][Doc][Streaming] Highlight code snippets

    ## What changes were proposed in this pull request?
    
    We should use `{% highlight lang %}``{% endhighlight %}` to highlight code 
snippets in the `Structured Streaming Kafka010 integration doc` and the `Spark 
Streaming Kafka010 integration doc`.
    
    This patch consists of two commits:
    - the first commit fixes only the leading spaces -- this is large
    - the second commit adds the highlight instructions -- this is much simpler 
and easier to review
    
    ## How was this patch tested?
    
    SKIP_API=1 jekyll build
    
    ## Screenshots
    
    **Before**
    
    
![snip20161101_3](https://cloud.githubusercontent.com/assets/15843379/19894258/47746524-a087-11e6-9a2a-7bff2d428d44.png)
    
    **After**
    
    
![snip20161101_1](https://cloud.githubusercontent.com/assets/15843379/19894324/8bebcd1e-a087-11e6-835b-88c4d2979cfa.png)
    


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/lw-lin/spark doc-highlight-code-snippet

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/15715.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #15715
    
----
commit bb5f7dbf3b2c4f91981b71c2d0593fa29ec898bf
Author: Liwei Lin <lwl...@gmail.com>
Date:   2016-10-30T11:08:08Z

    Fix leading spaces

commit 5f2c21bda38d44a2a1cad118aa470f4baec8f95d
Author: Liwei Lin <lwl...@gmail.com>
Date:   2016-10-30T11:08:08Z

    Highlight code snippet

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to