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
difficulty: advancedIssues that are complex, e.g. large scoping for long-term maintainability.featureThis is not a bug or issue with Docusausus, per se. It is a feature request for the future.mlhMajor League Hacking Fellowship
I started trying out docusaurus v2 and it worked out great for technical documentation. Everyone on the team loved how clean it looks, easy to maintain.
We would like to take one more step forward to add more useful info related to our app.
Pitch
Being able to use markdown eliminates the overhead styling and it is easier to maintain.
So, to understand, you want to use MD/MDX for something else than docs/blog?
Currently, these releases/help pages etc are build with static JSX, but it could be possible to create pages with MD/MDX too.
In such case, those md pages would probably apply automatically the site's main layout, and center the markdown content.
Is this what you have in mind?
Note: what you want to do is probably already possible by implementing your own plugin, but this is likely more work on your side than having official markdown pages support ^^
I was confused when I read this feature request. I think the description is misleading. It really has nothing to do with navigation or tabs. It's about being able to create regular "pages" (other than docs/blogs) using Markdown.
@amimas that is correct. I think @chaitanya1248 was confused over what the navbar was doing and achieving.
@chaitanya1248 For clarity, the navbar only serves to display links to other pages. What you are asking here is to allow writing markdown to create new routes so that they can be referenced in the navbar.
I've edited the issue description to make it clearer.
difficulty: advancedIssues that are complex, e.g. large scoping for long-term maintainability.featureThis is not a bug or issue with Docusausus, per se. It is a feature request for the future.mlhMajor League Hacking Fellowship
Activity
slorber commentedon Jun 4, 2020
Hi,
So, to understand, you want to use MD/MDX for something else than docs/blog?
Currently, these releases/help pages etc are build with static JSX, but it could be possible to create pages with MD/MDX too.
In such case, those md pages would probably apply automatically the site's main layout, and center the markdown content.
Is this what you have in mind?
Note: what you want to do is probably already possible by implementing your own plugin, but this is likely more work on your side than having official markdown pages support ^^
chaitanya1248 commentedon Jun 4, 2020
Yes, that is exactly what I'm looking for. As per following Stackoverflow any additional tabs can have content from src/pages only.
amimas commentedon Jun 4, 2020
I was confused when I read this feature request. I think the description is misleading. It really has nothing to do with navigation or tabs. It's about being able to create regular "pages" (other than docs/blogs) using Markdown.
[-]Additional tabs supports markdown[/-][+]Markdown support for pages[/+]yangshun commentedon Jun 5, 2020
@amimas that is correct. I think @chaitanya1248 was confused over what the navbar was doing and achieving.
@chaitanya1248 For clarity, the navbar only serves to display links to other pages. What you are asking here is to allow writing markdown to create new routes so that they can be referenced in the navbar.
I've edited the issue description to make it clearer.
yangshun commentedon Jun 5, 2020
Anyway if anyone is interested, I roughly got it to work in https://github.com/facebook/docusaurus/tree/yangshun/pages-mdx and had a PR #1610 which wasn't merged. I can't remember exactly why but Endilie mentioned that there were implicit dependencies on some markdown-related packages that I should have added. I might revisit this.
slorber commentedon Jun 5, 2020
will take a look next week
slorber commentedon Jun 16, 2020
here's a first draft PR if you want to take a look:
#2947