-
Notifications
You must be signed in to change notification settings - Fork 9
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
layouts and in-place #9
Comments
Hi @ismay, thanks for reaching out. Glad you made an issue about this, not only about considering Design ChangesThere are a few design considerations between how
Moving ForwardsTaking these into consideration, I see a few options going forwards and would love your ideas too:
I think taking option 1 for now is the easiest way forwards, at least for now. I'd love your thoughts! Where do you think we could go with this? |
Apologies for the late reply. I think a variation of option 2 makes the most sense to me. But instead of inheriting metalsmith-jstransformer I prefer implementing the jstransformer lib directly. That way we're just switching the engine that does the rendering and not depending on a different metalsmith plugin (in which case I'd say it would be better for people to just use that plugin directly). I think it would be good to reconsider the layouts and in-place api, and see what we want to keep and what not. The separation between layouts and in-place is also something worth revisiting, but there'd have to be convincing arguments for merging them back together as the separation was the entire point of creating both those libs to begin with :). So lots of work to be done :). Thanks for your feedback! |
For metalsmith layouts and in-place we've been thinking about switching to jstransformer as our rendering engine: metalsmith/layouts#100. I personally like the modular approach and think it would be an improvement over consolidate. However, since this lib already exists it would maybe be a bit of a duplication of functionality.
We could switch to jstransformer for layouts and in-place and add you as a maintainer there, if you'd be open to that of course. Or maybe both libs have their own unique niche and it would make sense to develop them separately? What do you think?
The text was updated successfully, but these errors were encountered: