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

Add gfm table support #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dabbott
Copy link

@dabbott dabbott commented Jan 15, 2017

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.

None yet

1 participant