-
-
Notifications
You must be signed in to change notification settings - Fork 10k
Code block with language tabs #982
Copy link
Copy link
Closed
Labels
difficulty: intermediateIssues that are medium difficulty level, e.g. moderate refactoring with a clear test plan.Issues that are medium difficulty level, e.g. moderate refactoring with a clear test plan.featureThis is not a bug or issue with Docusausus, per se. It is a feature request for the future.This is not a bug or issue with Docusausus, per se. It is a feature request for the future.good first issueIf you are just getting started with Docusaurus, this issue should be a good place to begin.If you are just getting started with Docusaurus, this issue should be a good place to begin.
Description
Metadata
Metadata
Assignees
Labels
difficulty: intermediateIssues that are medium difficulty level, e.g. moderate refactoring with a clear test plan.Issues that are medium difficulty level, e.g. moderate refactoring with a clear test plan.featureThis is not a bug or issue with Docusausus, per se. It is a feature request for the future.This is not a bug or issue with Docusausus, per se. It is a feature request for the future.good first issueIf you are just getting started with Docusaurus, this issue should be a good place to begin.If you are just getting started with Docusaurus, this issue should be a good place to begin.
Type
Fields
No fields configured for issues without a type.
🚀 Feature
Code block with language tabs
Have you read the Contributing Guidelines on issues?
Yes
Motivation
My project is a library. It supports four languages: Golang, Java, PHP and Node.js. So I need to show code in multiple languages in my documentation.
Pitch
I already noticed the discussion here: #103. But it seems to be a little hacky. I still want to know if there's any official decision on this feature or other third-party recommendations? Thanks.