Github user liancheng commented on the issue:

    https://github.com/apache/spark/pull/13972
  
    @yinxusen @mengxr Actually I found overlapped labelling is far more easier 
than I expected earlier... So did it in the last commit.
    
    Made the following experiment to illustrate the effect:
    
    ```python
    # $SPARK_HOME/examples/src/main/python/test.py
    
    # $example on:foo$
    import used.by.foo
    # $example on:bar$
    import common.stuff
    # $example off:foo$
    import used.by.bar
    # $example off:bar$
    ```
    
    Liquid template:
    
    ```
    {% include_example foo python/test.py %}
    
    {% include_example bar python/test.py %}
    ```
    
    Screenshot:
    
    <img width="454" alt="overlapped-labels" 
src="https://cloud.githubusercontent.com/assets/230655/16474910/1490d872-3ead-11e6-9225-6cc35b55f365.png";>



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