Uploaded image for project: 'Markdown Syntax'
  1. Markdown Syntax
  2. MARKDOWN-102

Table cell alignment is lost when rendering to CommonMark Markdown 1.2

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • 8.10.0
    • 8.9.1
    • markdown/1.2
    • None
    • Unknown

    Description

      When rendering a table to markdown/1.2, the cell alignment (align parameter, e.g. coming from a Markdown table with :---: separators) is not rendered: the separator row is always | — |.

      Steps to reproduce

      Parse and render back to markdown/1.2:

      | a | b |
      |:--|--:|
      | c | d |
      

      Result

      The alignment markers are lost (| — | — |).

      Expected

      The column alignment is preserved (:--, -:, :--:).

      Attachments

        Activity

          People

            vmassol Vincent Massol
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: