DEV Community

Cover image for How to add custom code block in WordPress website?
K M H Mubin
K M H Mubin

Posted on

1

How to add custom code block in WordPress website?

I want to show the project code on my WordPress site. But the default code block is too simple. I want like this type of code block on my WordPress website.

custom code block

Example: Just like the css-trick website code block.

Is it possible? which plugin or script should I use to achieve this type of code block?

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay