Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to insert table in list ? #794

Closed
saifulindo opened this issue Jun 10, 2015 · 12 comments
Closed

how to insert table in list ? #794

saifulindo opened this issue Jun 10, 2015 · 12 comments

Comments

@saifulindo
Copy link

I try to insert a table into a list format markdowns as in the picture, Not Working:
gitbook

Thanks.

@cesards
Copy link

cesards commented Jul 1, 2015

+1 here

Gitbook doesn't support markdown alignments

Tables Are Cool
col 1 is left-aligned $1600
col 2 is centered $12
col 3 is right-aligned $1

@tormi
Copy link

tormi commented Nov 5, 2015

I try to insert a table

The problem is that Gitbook uses 2 dashes instead of 3 which is required for rendering tables correctly. Ref: github/markup#371 (comment)

@infotexture
Copy link

This isn't an issue with the number of dashes used for the separator line between table head and body as mentioned in github/markup#371.

The problem is that GitBook doesn't seem to support tables nested within list items.

The following table within a list renders fine on GitHub:

  1. Download the package for your operating system from the project website:
Operating system File name
Linux or Mac OS X file.tar.gz
Windows file.zip
  1. Extract the contents of the package to the directory.

but in GitBook, the table is not recognized, and renders the dashes and pipe symbols literally:

<ul>
  <li>
    <p>Download the package for your operating system from the project website.</p>
    <p>|Operating system|File name|
      |----------------|---------|
      |Linux or Mac OS X|file.tar.gz|
      |Windows|file.zip|</p>
  </li>
  <li>
    <p>Extract the contents of the package to the directory.</p>
  </li>
</ul>

@saifulindo
Copy link
Author

OK. Thanks.

@mzlogin
Copy link

mzlogin commented Oct 27, 2016

+1. Met the same problem. Any plan to support table nested in list?

@joepeak
Copy link

joepeak commented Jan 16, 2017

+1. Met the same problem.

2 similar comments
@nashiki
Copy link

nashiki commented May 12, 2017

+1. Met the same problem.

@whimsycwd
Copy link

+1. Met the same problem.

@iVapor
Copy link

iVapor commented Jun 7, 2018

+1. The same problem. So I use HTML in Markdown.

@marcobjorge
Copy link

+1

2 similar comments
@akuma
Copy link

akuma commented Jul 17, 2018

+1

@xiaohaoliang
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests