-
Notifications
You must be signed in to change notification settings - Fork 37
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
What is the current scope of this project? #57
Comments
Yeah good point... I don't think it's possible to follow GitHub's rendering completely. I think GitHub is bringing complexity to README rendering these days, and I think it's a good idea to change descriptions to GitHub-style. One reason we're sticking with GitHub-style rendering and not just gfm is this library has been used in deno.land/x, and the README.md(example) that is placed on GitHub needs to look the same in deno.land/x. But we also use this for blogs and SSGs, and I don't think we can or should be fully compliant with GitHub. Maybe we need a plug-in mechanism to prevent the expansion of features and dependencies. |
Thanks for the reply! I think this package has its merits, being easy and straightforward to use. The issue is that not everyone expects every GitHub-specific behavior.
You may be interested in taking a look at my other issues, which aim for improving the structure of this project. Specially, I'm happy to work on this if #54 is accepted and deno-gfm would switch to remark. |
Personally I have to disagree on this one. If I (as the end user) see something render in GitHub, but not render in a page using this project, I would find that very strange. I am a big fan of the option bag we have which should alleviate the concerns regarding enabling unsafe or slow features (ex: math rendering).
I'm also -1 on this as well. It seems to me that functionality that people expect should really just be built-in. The only thing that makes me somewhat unsure about this is mermaid rendering but even then
|
You would be hard-pressed to support every GitHub feature. For example, I dare you to try this one.
That seems to be the opposite of "easy and straightforward to use". This is not Microsoft Word after all.
Well, it's just exporting parser options, not that complex/difficult? |
That actually seems really cool and relatively practical to me. I'll give it a shot at some point in the near future.
Point taken
If we're talking about remark plugins, this seems more reasonable. I had interpreted it as an in-house plugin system which seemed needlessly complex to me. |
It's going a little off-topic, but I'm not sure you want web requests in a Markdown parser...
Does not have to be remark. And surely we are not building another parser here. |
Yeah, sorry about that.
We're a markdown renderer. If someone wanted to render some markdown in a GitHub style, I don't see why code references would be "too far".
I would like to move in that direction, but agreed.
👍 |
First of all, thank you for discussing this. This discussion is useful to consider what features should be added in the future.
Maybe the latter is a bit of a special use case. I don't think we should fork deno-gfm but we may not want to have the blog side affected by changes specific to deno.land/x. |
Pin @hashrock since you have recently worked on this.
With #5 implemented and interests in #28, I think this project is going beyond the definition of "GitHub Flavored Markdown" (GFM), heading towards "Markup features supported by GitHub".
I'm not saying this is a bad thing, but we need to make things clear. This project, in its current form, is no longer just a GFM renderer (in which case, one would probably be better using micromark or remark). The description should be changed to something like "Server-side GitHub-style Markdown rendering for Deno".
And we need to draw the line somewhere. For example, the GitHub feature mentioned in #46 in too niche to have it here.
The text was updated successfully, but these errors were encountered: