Skip to content
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

Support for Code Tabs #4184

Closed
vamsi3 opened this issue Feb 6, 2021 · 7 comments
Closed

Support for Code Tabs #4184

vamsi3 opened this issue Feb 6, 2021 · 7 comments
Labels
closed: question This issue is a user error/misunderstanding.

Comments

@vamsi3
Copy link
Contributor

vamsi3 commented Feb 6, 2021

🚀 Feature

Support for Code Tabs primarily in docs which is similar to this from Docusaurus v1.

https://docusaurus.io/docs/en/doc-markdown#language-specific-code-tabs

Have you read the Contributing Guidelines on issues?

Yes

Motivation

Many open-source projects involve using multiple languages in their documentation.

Pitch

Even few years ago in Docusaurus v1, this feature was well requested by the community (#103 and corresponding PR #1063). I think the popularity of the feature remains the same, especially from a documentation viewpoint.

@vamsi3 vamsi3 added feature This is not a bug or issue with Docusausus, per se. It is a feature request for the future. status: needs triage This issue has not been triaged by maintainers labels Feb 6, 2021
@lex111
Copy link
Contributor

lex111 commented Feb 6, 2021

@lex111 lex111 closed this as completed Feb 6, 2021
@YanDevDe
Copy link

@lex111 can you give us hint where we should read on this doc page? There is no mention how we can include code block (or markdown) inside of the tab on this page.

@lex111
Copy link
Contributor

lex111 commented May 16, 2021

Isn't that what you need? https://docusaurus.io/docs/next/markdown-features/code-blocks#multi-language-support-code-blocks

@YanDevDe
Copy link

Yup! This was what I was searching for it! Thank you!

@lex111
Copy link
Contributor

lex111 commented May 16, 2021

Searching by docs is your best friend, don't forget this.. I don't think it's hard to find it yourself. But if you have difficulties with this, you could create an issue (we want our docs to be as clear and accessible as possible).

@YanDevDe
Copy link

YanDevDe commented May 16, 2021

Actually I was searching for it and I try to avoid creating issues - only if I have to!

I would never imagined to find Tabs related in "Code-Blocks" because I was 100% focusing on "Tabs" documentation how I can use markdown inside of tabs - There is no mention about this.

https://docusaurus.io/docs/next/markdown-features/tabs

And your link to tabs documentation (before closing this issue) just confused me further - hence I added comment here. Sorry for the confusion!

I'll create issue later for this.

@lex111
Copy link
Contributor

lex111 commented May 16, 2021

Ah, yes. That link is no longer relevant, we've reorganized our docs, so the content structure has changed. But in any case, we welcome the creation of issues related with docs!

@Josh-Cena Josh-Cena added closed: question This issue is a user error/misunderstanding. and removed feature This is not a bug or issue with Docusausus, per se. It is a feature request for the future. status: needs triage This issue has not been triaged by maintainers labels Mar 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed: question This issue is a user error/misunderstanding.
Projects
None yet
Development

No branches or pull requests

4 participants