
QOT Code Styler
v1.0QOT Studio · 2026年11月19日 上架
Beautiful code blocks with syntax colours and a Copy button. Dark, light or automatic. Tiny, fast, and works with the code you already have.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 110
- 最近更新
- 2026年11月19日
需要 WordPress 6.0+已测试到 7.1.5PHP 7.4+
贡献者
截图
QOT Code Styler makes the code in your posts easy to read and easy to copy. Activate it and every code block on your site gets a clean code window, syntax colours and a Copy button, in new posts and old ones.
It works with the standard WordPress Code block and classic <pre> code, so there is no special block to learn and nothing to change in your posts.
What you get
- A clean code window with a header bar, rounded corners and comfortable spacing.
- Syntax colours for comments, quoted text, HTML tags, attributes, keywords and numbers. Works well for HTML, CSS, JavaScript, PHP, Python and shell commands.
- A Copy button on every code block. One click copies the code, ready to paste.
- Three looks: Dark, Light, or Automatic, which follows each visitor’s light or dark mode.
- Your own colours. Pick any of the 8 colours with the WordPress colour picker and watch a live preview as you go.
- Mobile friendly. Long lines wrap on phones, or turn wrapping off to scroll sideways like a code editor.
- Inline code and keyboard keys. A
file_name.phpinside a sentence gets a neat highlight, and<kbd>Ctrl</kbd> + <kbd>C</kbd>looks like real keys. Both blend in with any theme, light or dark. - Clean post summaries. On home pages and archives that show short post summaries, code is left out, so it never spills into the summary as messy text.
- Readable by everyone. The built-in colours meet the WCAG AA contrast level.
Why it is light and fast
- One small stylesheet and one tiny script, with no outside library.
- Loads only on pages that show code. Other pages get nothing extra.
- Turn off the colours and the Copy button and it loads no JavaScript at all.
- No special block or shortcode, so nothing breaks if you ever switch it off. Your code simply goes back to your theme’s style.
Made by Quick Online Tips, tech help that works since 2004. See the QOT Code Styler plugin page for more.



