Skip to content

Add gfm table support#6

Open
dabbott wants to merge 1 commit into
threepointone:masterfrom
dabbott:gfm-tables
Open

Add gfm table support#6
dabbott wants to merge 1 commit into
threepointone:masterfrom
dabbott:gfm-tables

Conversation

@dabbott

@dabbott dabbott commented Jan 15, 2017

Copy link
Copy Markdown

Adds two steps to parsing:

  • Replace gfm tables with plain HTML, including markdown-safe stubs to be swapped out after markdown parsing
  • Swap stubs for React-safe code after markdown parsing but before JS parsing

Supports tables with and without initial/closing pipes. Adds table cell alignment (if given) into component style object.

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.

1 participant