Add code selector to the code block
under review
X
Xenon blue Shrew
It'd be cool to make the code blocks more interactive and able to host multiple languages that you can pick from a dropdown.
Log In
X
Xenon blue Shrew
Magnificent Grasshopper - this request is to enhance the codeblocks. Usually, especially for mobile implementations, you need to present the code for multiple programming languages. In doc360 that requires stacking multiple code blocks in an article. It would be much nicer to have a solution when the user can select the language and see the right code depending on the selection.
M
Magnificent Grasshopper
marked this post as
under review
M
Magnificent Grasshopper
Xenon blue Shrew to get more clarity on this request, we do have options to choose the language from codeblocks dropdown. May we know what are your further expectations on this?
C
Carmine Canidae
Magnificent Grasshopper I believe the request is to have a coding language selector in the Knowledge Base (aka the customer-facing view) and not in the Portal (aka the editor) view.
The ask here is to get the API Documentation code sample language selector for regular code blocks in the KB.
Also, an alternative way to do it is discussed here: https://feedback.document360.com/feature-request/p/tabs-for-multiple-programming-languages-in-codeblocks and the feature request is apparently in the roadmap.