Github user mengxr commented on a diff in the pull request:
https://github.com/apache/spark/pull/9320#discussion_r43688658
--- Diff: docs/_plugins/include_example.rb ---
@@ -38,7 +38,15 @@ def render(context)
code = File.open(@file).read.encode("UTF-8")
code = select_lines(code)
- Pygments.highlight(code, :lexer => @lang)
+ rendered_code = Pygments.highlight(code, :lexer => @lang)
+
+ spark_version = site.config['SPARK_VERSION_SHORT']
+ hint = "<div class=\"hint\">Find the example here: " \
--- End diff --
* `Find the example here:` -> `Find full example code here:`
* We don't need a special CSS style to change font size. Use
`<div><small>...</small></div>`.
---
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]