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

Readme example does not work anymore #12

Open
julianbarg opened this issue Oct 19, 2024 · 3 comments
Open

Readme example does not work anymore #12

julianbarg opened this issue Oct 19, 2024 · 3 comments

Comments

@julianbarg
Copy link

This example from the readme:

:::list-table
   * - row 1, column 1
     - row 1, column 2
     - row 1, column 3

   * - row 2, column 1
     -
     - row 2, column 3

   * - row 3, column 1
     - row 3, column 2
:::

Now raises the following error: Encountered unassigned table cell. This issue can be rectified by adding an empty bullet point at the bottom like this:

:::list-table
   * - row 1, column 1
     - row 1, column 2
     - row 1, column 3

   * - row 2, column 1
     -
     - row 2, column 3

   * - row 3, column 1
     - row 3, column 2
     - 
:::
@wlupton
Copy link
Member

wlupton commented Oct 20, 2024

This works for me with HTML output. Are you generating DOCX, in which case is this #3?

(I'm not saying that the problem shouldn't be fixed at source. See #2.)

@julianbarg
Copy link
Author

Indeed I am generating DOCX output. Sorry, didn't occur to me to include the pandoc command I ran. Other than that, list-table is generally working when generating docx though.

@wlupton
Copy link
Member

wlupton commented Oct 25, 2024

I updated #2 to suggest that the writer (rather than the filter) should be responsible for this.

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

2 participants