[
https://issues.apache.org/jira/browse/ZOOKEEPER-4356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17405808#comment-17405808
]
Nihal Jain commented on ZOOKEEPER-4356:
---------------------------------------
Created PR. See local build fix at !html_rendering_after_fix.png!
> Code blocks do not render correctly in ZK docs site
> ---------------------------------------------------
>
> Key: ZOOKEEPER-4356
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4356
> Project: ZooKeeper
> Issue Type: Bug
> Components: documentation
> Affects Versions: 3.7.0
> Reporter: Nihal Jain
> Priority: Major
> Labels: pull-request-available
> Attachments: html_rendering_after_fix.png,
> html_rendering_before_fix.png, markdown_rendering.png
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> The code blocks defined inside fenced code blocks render correctly in
> Markdown; but the same text not render properly in HTML sites.
> For example see:
>
> https://github.com/apache/zookeeper/blob/master/zookeeper-docs/src/main/resources/markdown/zookeeperCLI.md
>
> !markdown_rendering.png!
> vs
> http://zookeeper.apache.org/doc/r3.6.3/zookeeperCLI.html
> !html_rendering_before_fix.png!
> This makes the docs site very ugly and difficult to comprehend. (One has to
> figure out where the code block starts and where it ends.)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)