Allow configurability for remark plugins #997
-
Hi, everybody. This discussion was born mainly from the issue remarkjs/remark-gfm#34 but, out there, seem to be a lot of issues that aim to the same target: Configurability. Let's talk about it! 🙃 I've spent some time reading many other issues on many different projects and it seems to be normal behavior to avoid configurability. I understood the point of view used in these cases:
... while, at the same time, I'm always asking myself:
I also understood that Unified is like LEGO and that I can do whatever I want... BUT...
Obviously! Suppose, now, that there's no configurability even in those plugins that already support it:
... and these are just 3 examples that, ironically, correspond extremely well to the original issue in which this discussion arose. I think that configurability is a MUST and that this kind of fragmentation is absolutely to avoid... Especially in an open-source project. Here's an example of a similar situation, also related to configuration, within another open-source project. I don't think that this kind of configurability is that bad... |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Taking a step back, the answer likely lies in the question @wooorm suggested in remarkjs/remark-gfm#34 (comment)
Pushing for a solution without articulating the problem is not an effective way of solving the problem. Some broader context which can help set the stage.
Parser plugins and transformer plugins sometimes have configuration, in limited cases and where appropriate. Taking the example of |
Beta Was this translation helpful? Give feedback.
-
Hi, @ChristianMurphy! Let's start by quoting another comment from @wooorm on the same issue:
This sentence is the core of it all: «I want Markdown to become [...] more standard. [...] Not the funky language WhatsApp or Slack have.». How many times are you writing something that doesn't necessarily have to be a link (e.g. www.eee) and: This is exactly what a funky language looks like. That's it. GFM is extremely good... Except for this single funky thing (that should be configurable, IMHO). My users are developers, technicians and other IT figures that KNOW how to write Markdown WELL. This is the purpose of this discussion: to add a simple configuration to a known and reliable repository, preventing other people from doing the same thing over and over on their own repositories... That's not the FOSS I want to see in the World. Again... I understood that this configuration would change the "flavor" of the presets... Of course... And also... Isn't configurations born just for this reason? |
Beta Was this translation helpful? Give feedback.
Taking a step back, the answer likely lies in the question @wooorm suggested in remarkjs/remark-gfm#34 (comment)
Pushing for a solution without articulating the problem is not an effective way of solving the problem.
Some broader context which can help set the stage.
Remark plugins broadly fall into a few categories.