GithubHelp home page GithubHelp logo

suggest: support table about react-markdown HOT 32 CLOSED

remarkjs avatar remarkjs commented on August 16, 2024 57
suggest: support table

from react-markdown.

Comments (32)

rexxars avatar rexxars commented on August 16, 2024 25

Been in the hospital for the past week, and I am in no fit state to code right now. It's pretty close, but not willing to give estimates based on health

from react-markdown.

rexxars avatar rexxars commented on August 16, 2024 9

Just thought I'd let you guys know that I've started working on the next major release of react-markdown, which will switch from commonmark to markdown, thus enabling tables (among other things).

There will be some breaking changes to the API, but nothing that should take too long to fix.

from react-markdown.

sasha240100 avatar sasha240100 commented on August 16, 2024 8

+1 For tables

from react-markdown.

TakanashiOuken avatar TakanashiOuken commented on August 16, 2024 7

+1 For this
Really need the table working

from react-markdown.

sauravskumar avatar sauravskumar commented on August 16, 2024 6

https://github.com/chjj/marked this markdown parser has support for tables...

from react-markdown.

sauravskumar avatar sauravskumar commented on August 16, 2024 5

+1 for table... really need it... please please add it

from react-markdown.

tuchk4 avatar tuchk4 commented on August 16, 2024 5

tuchk4/storybook-readme#4

from react-markdown.

aviadl avatar aviadl commented on August 16, 2024 3

+1
Can you please share the status on this ?

from react-markdown.

simonbuerger avatar simonbuerger commented on August 16, 2024 3

@rexxars Sorry to hear. Thanks for all your hard work on this.

And I'm with them ^ take care of yourself first!

from react-markdown.

rexxars avatar rexxars commented on August 16, 2024 2

The new release candidate for v3 has table support. Please read this issue for more information. Please give it a go and let me know if you encounter issues.

from react-markdown.

alecmev avatar alecmev commented on August 16, 2024 1

@rexxars As in rendering everything the same way commonmark.js would. There are no issues in particular I'm worried about, I just know for sure that most renderers differ in one way or another. Take a look at Babelmark's examples of divergences (look for markdown-it as a representative of CommonMark).

from react-markdown.

rexxars avatar rexxars commented on August 16, 2024 1

@tbillington Been caught up with real-life lately, but I'm going to work on react-markdown this weekend, hoping to get closer.

from react-markdown.

rexxars avatar rexxars commented on August 16, 2024 1

Yup, Github-style.

from react-markdown.

pnepe6 avatar pnepe6 commented on August 16, 2024 1

Like everyone, I hope everything going well. You do a great job and your module rocks! Looking forward to see tables implementation. Take care of yourself.

from react-markdown.

ztratar avatar ztratar commented on August 16, 2024

These are pretty important. Would love to see!

from react-markdown.

rexxars avatar rexxars commented on August 16, 2024

I'd love to support them, but commonmark does not include them in the spec. I'm going to start experimenting with an alternative markdown parser. It might take a while to complete, since it'll almost be a complete rewrite, however.

from react-markdown.

rexxars avatar rexxars commented on August 16, 2024

Have no gotten much farther on this. Have experimented with alternative markdown parsers, and know that it's doable, it's just a matter of getting time to do it. Right now other projects are taking up most of my time. Don't want to give out estimates for open-source work as it totally depends on how much free time I have to work on it, which varies.

from react-markdown.

Swivelgames avatar Swivelgames commented on August 16, 2024

This was pretty damn awesome until I almost finished what I was working on, tried to use a table, and it fell flat on its face 😢

Switched over to remarkable and highlight.js as seen in Facebook's own Markdown React example.

from react-markdown.

alecmev avatar alecmev commented on August 16, 2024

@rexxars

Nice to hear, but which library in particular do you intend to use, and why abandon CommonMark? Why not markdown-it, another CM-compatible library, acknowledged by jgm, the main guy behind CM?

In my use case, if you were to use something non-CM, the difference would probably be minimal, since the only user-generated content we have is comments, which people rarely format, and the rest can be adjusted relatively easily. But what about those with gigabytes of Markdown data, which might render differently?

from react-markdown.

rexxars avatar rexxars commented on August 16, 2024

@jeremejevs I'll continue to maintain commonmark-react-renderer, which to be fair is pretty much where all the logic of react-markdown resides. In hindsight, I should have named this module react-commonmark, since that's what it currently renders. Perhaps now would be a good time to fork and publish just that.

from react-markdown.

alecmev avatar alecmev commented on August 16, 2024

@rexxars I understand that the current implementation can and will be maintained, and that nobody is forced to switch, but it would be nice to have both CM-compatibility and tables. That lets existing users upgrade easily, and, on the religious front, we can remain invested into a proper standard.

from react-markdown.

rexxars avatar rexxars commented on August 16, 2024

@jeremejevs As in; being able to opt-out of non-commonmark types?

Are there any compatibility issues in particular you're worried about? For most people, I'd think that the move would result in little or no changes in the rendered output.

from react-markdown.

tbillington avatar tbillington commented on August 16, 2024

Just curious about the status of the implementation of tables, are any rough goals ?

from react-markdown.

martellaj avatar martellaj commented on August 16, 2024

Anyone with a simple use-case and just needs table support, I found react-remarkable to be a light-weight solution that's easily swappable with react-markdown.

from react-markdown.

tbillington avatar tbillington commented on August 16, 2024

@rexxars Which table format would you implement, github style?

from react-markdown.

agustinlg avatar agustinlg commented on August 16, 2024

+1 for tables! thanks!

from react-markdown.

sichvoge avatar sichvoge commented on August 16, 2024

@rexxars do you have an update on this?

from react-markdown.

FlorianWendelborn avatar FlorianWendelborn commented on August 16, 2024

@rexxars Good luck with that! Don't worry about this issue and take your time. Nobody is forcing you. 😄

from react-markdown.

sichvoge avatar sichvoge commented on August 16, 2024

Agree to @dodekeract. Health should always be first priority! Thanks for all your good work.

from react-markdown.

simen avatar simen commented on August 16, 2024

Awesome stuff! Really need github-style table support to display some release notes in an app I'm working on. Looking forward to it!

from react-markdown.

rexxars avatar rexxars commented on August 16, 2024

Closing this issue to make it easier for me to keep track of pending issues.

from react-markdown.

rwlaschin avatar rwlaschin commented on August 16, 2024

This is great, I really need tables as well.

The other thing I noticed is that
doesn't render as expected.

from react-markdown.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.