Skip to content

Format markdown tables#8

Open
fhunleth wants to merge 1 commit into
synchronal:mainfrom
fhunleth:markdown-tables
Open

Format markdown tables#8
fhunleth wants to merge 1 commit into
synchronal:mainfrom
fhunleth:markdown-tables

Conversation

@fhunleth

Copy link
Copy Markdown
Contributor

Fixes #7

The main difference from #7 is that I ended up padding the final column. Leaving it ragged was going to make a special case in the code. I'm not sure what the gold standard markdown formatter is, but https://codebeautify.org/markdown-formatter also pads out the final column

I started going down the path of fixing up malformed tables (row with extra columns, etc.) and quickly ran into EarmarkParser not handling them in ways that were fixable. I think those cases will need some EarmarkParser updates if they are common.

At the very least, I think this supports my use cases.

@fhunleth

Copy link
Copy Markdown
Contributor Author

Just saw the CI failures... going to take a look...

@fhunleth

Copy link
Copy Markdown
Contributor Author

Fixed now.

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

Successfully merging this pull request may close these issues.

Format tables

1 participant