0

I wish to create embeds in notion to manage and share my code snippets. However, some code snippets serve the same purpose. For example, a sorting algorithm can be written in multiple programming languages, or implemented in different ways (quick sort and merge sort).

I want these code snippets that serve the same purpose to be presented in single embed/window and toggled as needed.

I found that leetcode playground provides a similar feature to create code snippet embeds as follows: embed generated by leetcode playground

Unfortunately, this feature provided by the plus plan can only be switched among multiple programming languages. Besides, I need to pay for features I don't need, which seems too expensive.

What I'm wondering is if there are existing tools for this. If useful, I'd be happy to pay for this. If not, how can I achieve this purpose.

I'm looking forward to your answer! Thanks!

1 Answer 1

0

You can do it by clicking this button. enter image description here

or

    ```javascript []
    console.log('Hello world!')
    ```
    ```python []
    print('Hello world!')
    ```
    ```ruby []
    puts 'Hello world!'
    ```
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.