summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNihal Jain <nihaljain.cs@gmail.com>2021-09-01 08:47:18 +0000
committerMate Szalay-Beko <mszalay@cloudera.com>2022-05-17 12:45:58 +0200
commit66dc95f9836bc62278644a8df096ee29a132f099 (patch)
tree2773e878b871c7b69bc64ab5d00a1ff8d5361a98
parent65615a54e30777af757ac52980fb2a5ac5fb0219 (diff)
downloadzookeeper-66dc95f9836bc62278644a8df096ee29a132f099.tar.gz
ZOOKEEPER-4356: Code blocks do not render correctly in ZK docs site
* Configure to use FENCED_CODE_BLOCKS. * Note: TABLES is the default setting. See https://github.com/walokra/markdown-page-generator-plugin for details on default `pegdownExtensions` setting Author: Nihal Jain <nihaljain.cs@gmail.com> Reviewers: maoling <maoling@apache.org>, Damien Diederen <ddiederen@apache.org> Closes #1741 from NihalJain/ZOOKEEPER-4356 (cherry picked from commit 2797116b33a505c8b36b396216c26afd7f7ba28c)
-rw-r--r--zookeeper-docs/pom.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/zookeeper-docs/pom.xml b/zookeeper-docs/pom.xml
index 9880faa40..52e5dddeb 100644
--- a/zookeeper-docs/pom.xml
+++ b/zookeeper-docs/pom.xml
@@ -49,6 +49,7 @@
<headerHtmlFile>${project.basedir}/src/main/resources/markdown/html/header.html</headerHtmlFile>
<footerHtmlFile>${project.basedir}/src/main/resources/markdown/html/footer.html</footerHtmlFile>
<copyDirectories>images,skin</copyDirectories>
+ <pegdownExtensions>TABLES,FENCED_CODE_BLOCKS</pegdownExtensions>
</configuration>
</plugin>
<plugin>