You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since this project is used as sort of a static site generator, a blog component and editor would be a great feature in the long term. Still thinking how to implement this though.
One idea off the top of my head is creating a WYSIWYG md editor, and storing the posts in a directory(let's say ./blog) in markdown format and use nextjs's dynamic routing to show the proper blog post.
I have an abandoned social media project that has an md editor, so we might be able to reuse some of the code.
The text was updated successfully, but these errors were encountered:
another idea can be to build a blog layout component using the current editor. Keep md files as CMS like what is used in https://github.com/vercel/next.js/tree/canary/examples/blog-starter example. dynamically replace contents of the layout component from the md.
This will be a great feature if it is added.
one time we design the layout(s). The content developers only edit the md files.
@arun-lmnas This is very close to the solution I have in mind.
Firstly we will need multi-page support #24 (comment) so a landing page and a few blog pages can co-exist in the same project. After that we will only need a markdown component in the editor and the developer can pass the markdown content (ie. the content of the .md file) from a component.
Quite busy atm to implement multi-page support but once we have it I will create an example for everyone to use!
Since this project is used as sort of a static site generator, a blog component and editor would be a great feature in the long term. Still thinking how to implement this though.
One idea off the top of my head is creating a WYSIWYG md editor, and storing the posts in a directory(let's say ./blog) in markdown format and use nextjs's dynamic routing to show the proper blog post.
I have an abandoned social media project that has an md editor, so we might be able to reuse some of the code.
The text was updated successfully, but these errors were encountered: