Skip to content

notion pages export: broken markdown tables when cells contain newlines #5

@ygpark80

Description

@ygpark80

Bug

notas notion pages export outputs broken markdown tables when Notion table cells contain newlines (\n). Markdown tables don't support multiline cells, so the exported .md file has rows split across multiple lines, breaking the table rendering.

Example

A Notion table with a cell like 비대칭키 JWT 이용\n(ES256) gets exported as:

| 비대칭키 JWT 이용
(ES256) | ... |

which breaks the table.

Expected behavior

Either:

  • Escape newlines as <br> within markdown table cells, or
  • Fall back to HTML <table> when any cell contains newlines

Version

notas 26.4.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions