aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/markdown.BUILD
diff options
context:
space:
mode:
authorGravatar Dandelion Mané <dandelion@google.com>2017-03-28 11:04:33 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-03-28 12:31:42 -0700
commit9ca9b143679b45d7371b3577ca94b54ea1d7c6c5 (patch)
tree274633b41cbeba5432e9a9b48cc6429932abea73 /third_party/markdown.BUILD
parent1297f732d7755c04922b1124cadb02aa2589e351 (diff)
Add markdown support to TensorBoard text plugin.
The markdown is sanitized, so TensorBoard will be safe from XSS attacks. Added markdown, bleach, and html5lib as dependencies. Change: 151479803
Diffstat (limited to 'third_party/markdown.BUILD')
-rw-r--r--third_party/markdown.BUILD15
1 files changed, 15 insertions, 0 deletions
diff --git a/third_party/markdown.BUILD b/third_party/markdown.BUILD
new file mode 100644
index 0000000000..fa3e85d530
--- /dev/null
+++ b/third_party/markdown.BUILD
@@ -0,0 +1,15 @@
+# Description:
+# Markdown processor
+
+package(default_visibility = ["//visibility:public"])
+
+# This software says they use a BSD license.
+licenses(["notice"])
+
+exports_files(["LICENSE.md"])
+
+py_library(
+ name = "org_pythonhosted_markdown",
+ srcs = glob(["markdown/**/*.py"]),
+ srcs_version = "PY2AND3",
+)