-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add codeblock component #45
Conversation
Deployment failed with the following error:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changing the lang in one codeblock doesnt seem to be changing it across the other codeblocks. Is it possible to add that in to this pr as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This PR is to add multi-language code block components to the areas in our docs that show more than one language when executing different types of transactions or queries. I implemented them using the
Tabs
andTabItem
from the docusaurus classic theme. Eventually we may want to consider making a<MultiLanguageCode />
component to reduce all the code block code in each page. For more info/ examples visit docusaurus docs here.