I need to format table cells content using bullet list or paragraph, br and co
You can now press Shift+Enter to insert another paragraph in a table. Then type "- " to start a list.
We are starting working on it, in addition to other improvements for tables. No ETA.
You cannot. It is not a gitbook thing. It is limitation of Markdown table syntax. You cannot enter multiple lines.
In order to use fully formatted cell content, we need new syntax. Tha is why I started to work for Markdown 2 specification years ago. See here my proposed new Table syntax that will allow to enter enything into cells and keep document text readable.
But I did not got enough attention.
@Sergey Romanov: markdown2 is a very interesting spec.
I succeeded to make multilines through Github editor. But I need to include <br/> tag in a onliner text. Not easy to use. I think it's possible to improve the gitbook editor to add <br/> tag when I type [Ctrl]+[Enter] or [Shift]+[Enter].
I noticed that github accepted <ul><li><br/><a> tags while gitbook only accepts <br/> and <a> tags.
Is the source code of gitbook v2 is open? I am warm to make a PR :-)
@Jonathan B: GitBook v2 is not open source, but our markdown parser/serializer is: https://github.com/GitbookIO/markup-it
@Samy Pessé: Thanks. I can look to add list management in markup-it.
@Samy Pessé: The key, I think, is to add the possibility of doing [CTRL]+[ENTER] to create new line in a table cell.
@Samy Pessé: Is this editor used in GitBookV2? https://github.com/GitbookIO/slate-edit-table
@Jonathan B: Yes, but it's already supported in this module. I Just need to find the best way to make it work with our GitHub sync (export to markdown).
I'll keep you updated as soon as possible. This is an active subject and the implementation can be done quickly.
One potential issue with 'lists' and 'new lines' in tables is that it'll not work with our GitHub integration.
Markdown (at least the GitHub Flavored markdown) doesn't support new lines in tables.
Allowing these content in tables will force to serialize in markdown as something else than a normal table.
On another matter, we are internally discussing adding a "columns" type of content to have side-by-side content. Will it be a potential solution to your problem ?
I'm trying to understand what is the exact use case for lists and multiple paragraphs in table cells.
@Samy Pessé: Hi. Thanks a lot.
We want migrate from wordpress to gitbook to write all our procedures. The format we are currently using is a table with http link, bulletlist and paragraph.
I don't know if columns may be a solution.
+1, I need this too.
By "return to the line" you mean carriage returns?
@Foucauld Degeorges: Yep! :-)