bigchaindb/site

Convert multi language code block examples into tabs

innopreneur opened this issue · 1 comments

Our current tutorials are javascript heavy and it gives the wrong impression that bigchaindb have better support for javascript and less support for python and java (which is not true as we are officially supporting all 3 drivers).

So there is a need to support multi tab code snippets for our existing tutorials and guides.

Before

image

After (incl Java)

image

this would be the perfect implementation, consecutive fenced code blocks getting transformed into tabs: https://yacir.github.io/markdown-fenced-code-tabs/

Anyone wants to port that to ruby? 🙃

But to solve the initial problem, an interim solution would be to first write out the code examples following each other. Then figure out later how to make tabs out of them. Would only require to add the language as a visible label to code blocks.