Skip to content
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

Code blocks shows in one line when using Divi Builder #45

Open
xEmp3ror opened this issue Nov 21, 2022 · 1 comment
Open

Code blocks shows in one line when using Divi Builder #45

xEmp3ror opened this issue Nov 21, 2022 · 1 comment

Comments

@xEmp3ror
Copy link

Hi! When I'm using the builder thats comes whith the theme Divi, called Divi Builder, I try to insert a block of code. In the menu of insert new item, doesn't appear the Syntax Highligter, but using a "text" object, I can add the code snippet between pre tags, and It's recognized by the Highlighter.

The problem is that it shows all the code in one line and It's shows html tags everywhere.

image

How can I fix it? Thank you!

@urvanov-ru
Copy link
Owner

Hi, @xEmp3ror . The button in text block is for single line code. Multiline code can be inserted only with special Urvanov Syntax Highlighter block.
You can see in the video

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants