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**

**After**

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 <[email protected]>
Date: 2016-10-30T11:08:08Z
Fix leading spaces
commit 5f2c21bda38d44a2a1cad118aa470f4baec8f95d
Author: Liwei Lin <[email protected]>
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]