elastic / elastic/docs-builder

Support selecting programming language in code snippets

Open
#55 14 comments 0 reactions 0 assignees View on GitHub
ai-triaged stale
Dominant language
C#
Stars
24
Forks
44
Avg merge
1d 7h
Merged PRs (30d)
146

Description

**Is this feature required for your content to migrate?**
It is not required for migration.

**Describe the solution you need**
The documentation often contains code snippets as examples of an operation. The code snippets are "Console" commands by default but it would be great to have the option to select another language and see the example in that language.

**Impact**
With this feature, repeating the same commands in various languages on the same page is unnecessary. One snippet could contain and display the commands for all the available languages.

**Additional context**

Screenshot 2022-09-07 at 10 06 09

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.