You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by derrickdoo <gi...@git.apache.org> on 2017/05/31 00:30:32 UTC

[GitHub] kafka-site pull request #59: Add auto syntax highlighter

GitHub user derrickdoo opened a pull request:

    https://github.com/apache/kafka-site/pull/59

    Add auto syntax highlighter

    Added plugin to do auto syntax highlighting for code snippets in our docs.
    
    Here's an example of how to syntax highlight some java code:
    `<pre class="brush: java;"></pre>`
    
    Here's what this would look like:
    ![image](https://cloud.githubusercontent.com/assets/271961/26610631/a5e4341a-455d-11e7-9fe4-7e6bc801f8a9.png)


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

    $ git pull https://github.com/derrickdoo/kafka-site syntax-highlighting

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

    https://github.com/apache/kafka-site/pull/59.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 #59
    
----
commit 8a7f7baa2ac3aa54a3b32f5aa2fdd25bed2b4c45
Author: Derrick Or <de...@gmail.com>
Date:   2017-05-31T00:27:07Z

    add auto syntax highlighter

----


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] kafka-site issue #59: Add auto syntax highlighter

Posted by guozhangwang <gi...@git.apache.org>.
Github user guozhangwang commented on the issue:

    https://github.com/apache/kafka-site/pull/59
  
    LGTM. Merged to asf-site.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] kafka-site pull request #59: Add auto syntax highlighter

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/kafka-site/pull/59


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---