Skip to content

Add padding to table cells #355

@CodeAlDente

Description

@CodeAlDente

Is your feature request related to a problem? Please describe.
In reference to #115 tables are supported now. When I add them to a note and take a look at the preview, there is no padding inside the cells. This results in a difficult readability as you can not tell where the content of a cell starts and where it ends.

Input:

| First head   | Second head  | Third head   |
|--------------|--------------|--------------|
| ABC123456789 | DEF123456789 | GHI123456789 |
| JKL123456789 | MNO123456789 | PQR123456789 |
| STU123456789 | VWX123456789 | YZ123456789  |

Output:
1566896755-001

Describe the solution you'd like
Padding must be applied to the cells.

Describe alternatives you've considered
In addition to that it would be nice to apply font-weight: bold to thead to differ them from the tbody. Also the tables width should be set to 100% to make use of the whole space.

Additional context
See above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    designRelated to the design or user experienceenhancementNew feature or requestfeature: Markdown-itRelated to preview mode using Markdown-it

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions