You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zookeeper.apache.org by sy...@apache.org on 2022/05/17 10:58:08 UTC

[zookeeper] 04/05: ZOOKEEPER-4356: Code blocks do not render correctly in ZK docs site

This is an automated email from the ASF dual-hosted git repository.

symat pushed a commit to branch branch-3.5
in repository https://gitbox.apache.org/repos/asf/zookeeper.git

commit 66dc95f9836bc62278644a8df096ee29a132f099
Author: Nihal Jain <ni...@gmail.com>
AuthorDate: Wed Sep 1 08:47:18 2021 +0000

    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 <ni...@gmail.com>
    
    Reviewers: maoling <ma...@apache.org>, Damien Diederen <dd...@apache.org>
    
    Closes #1741 from NihalJain/ZOOKEEPER-4356
    
    (cherry picked from commit 2797116b33a505c8b36b396216c26afd7f7ba28c)
---
 zookeeper-docs/pom.xml | 1 +
 1 file changed, 1 insertion(+)

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>