honkit / honkit

:book: HonKit is building beautiful books using Markdown - Fork of GitBook

Home Page:https://honkit.netlify.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue with rendering tables within lists

kazuhiro-yourself opened this issue · comments

Summary

I'm experiencing an issue with Honkit where tables within lists are not being correctly rendered in the generated HTML.

  • HonKit version: 4.0.7

Step to reproduce

  1. Create a new markdown file with the following content:
- Test
    - Condition 1
  
      |aaaa|aaaa|
      |--|--|
      |aaa|aaa|
  
    - Condition 2
      
      |aaaa|aaaa|
      |--|--|
      |aaa|aaa|
  1. Run honkit build.

Expected results

The tables within the lists should be rendered as tables in the generated HTML.

Actual results

In the rendered HTML, the table does not appear as expected. Instead, it is displayed like this:
image

I'm wondering if this is a known issue, and if there is a workaround or a fix for it. Any help would be greatly appreciated.

same issue

Is there any fix for this?