It adds the Tiptap's code and code block lowlight extensions to the editor, code block to block type selector, and code to the toolbar.
Why is it needed?
Many developers want to add code to their blogs, which these plugins allow.
How to test it?
For code: either select a text and click on the button, or use backtick (`) to ope and close the text code.
For code block: either select the paragraph to transform and choose code block from the block selector, or use three backtick (```) to open and close the code block, you can add the language short name after the opening three backticks to specify the language.
What does it do?
It adds the Tiptap's code and code block lowlight extensions to the editor, code block to block type selector, and code to the toolbar.
Why is it needed?
Many developers want to add code to their blogs, which these plugins allow.
How to test it?
For code: either select a text and click on the button, or use backtick (`) to ope and close the text code.
For code block: either select the paragraph to transform and choose code block from the block selector, or use three backtick (```) to open and close the code block, you can add the language short name after the opening three backticks to specify the language.
Notes