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

A table without a header will fail to convert #13

Open
LinFeng1997 opened this issue Mar 6, 2019 · 3 comments
Open

A table without a header will fail to convert #13

LinFeng1997 opened this issue Mar 6, 2019 · 3 comments

Comments

@LinFeng1997
Copy link

For Example:

<table>
    <thead>
        <tr>
            <th></th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td>content</td>
        </tr>
    </tbody>
</table>

will to be:

| content |

I hope this:

|  |
|--- |
| content |
@Tilesto
Copy link

Tilesto commented Mar 25, 2021

"+" for issue
And also, a table without thead (for example from tiptap) - will fail too.
E.g.:

<table>
    <tbody>
        <tr><th><p>Header1</p></th><th><p>Header 2</p></th></tr>
        <tr><td><p>1</p></td><td><p>2</p></td></tr>
    </tbody>
</table>

will be converted as:

| 
Header1

 | 

Header 2

 |
| --- | --- |
| 

1

 | 

2

 |

@guyplusplus
Copy link

I proposed a pull request #31 that fixes both issues

@VividVisions
Copy link

Has this ever been fixed?

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

4 participants