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

How to use a code highlight plugin with code-it-write #32

Closed
myannou opened this issue Feb 15, 2023 · 1 comment
Closed

How to use a code highlight plugin with code-it-write #32

myannou opened this issue Feb 15, 2023 · 1 comment

Comments

@myannou
Copy link

myannou commented Feb 15, 2023

I would like to use a code highlight plugin like https://wordpress.org/plugins/code-block-pro/
But I don't know how to make it write with code-it-write ?

@vaakash
Copy link
Owner

vaakash commented May 8, 2023

Hi @myanno, When you add a code block in markdown - https://www.markdownguide.org/basic-syntax/#code, then the code is wrapped with <pre> tag. This is the standard behavior. It would be better if code block pro plugin can recognize such <pre> tags and activate the syntax highlighting on that.

@vaakash vaakash closed this as completed May 8, 2023
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