-
I finished writing a syntax extension that adds support for
I'm now faced with the question of how to publish these packages. I see three options:
Currently, most extensions to
To me, Option 3 makes the most sense. However, I'm inclined to choose Option 2 as a compromise between convenience and convention. So I guess my question is:
Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Great question! I’m going with 1 personally. This is because I value modularity a lot. If folks don’t like the remark layer, then they can use micromark and mdast. If folks don’t need ASTs either, they can go with micromark only. Or someone can replace they higher-level layers with new projects and still use the lower-level projects. Of course: the ASTs are very useful and sometimes required, so micromark-only is not the best for some ideas. But this does lead to some complexity for users, especially newcomers, and complexity maintaining these projects. On the other hand, you can more freely change things if they are separate: a micromark extension/mdast utility could change it’s user interface resulting in a semver major, but that change can be pulled into the remark plugin in a semver minor. I think 3, or 2, are both fine for your use case. You can always split and externalize things later. I’d say it depends most on who you see using citations: just remark users? |
Beta Was this translation helpful? Give feedback.
Great question!
I’m going with 1 personally. This is because I value modularity a lot. If folks don’t like the remark layer, then they can use micromark and mdast. If folks don’t need ASTs either, they can go with micromark only. Or someone can replace they higher-level layers with new projects and still use the lower-level projects. Of course: the ASTs are very useful and sometimes required, so micromark-only is not the best for some ideas.
But this does lead to some complexity for users, especially newcomers, and complexity maintaining these projects.
On the other hand, you can more freely change things if they are separate: a micromark extension/mdast utility could change it’s user int…