Zeddotes Enhanced Code Block

چۈشەندۈرۈش

Zeddotes Enhanced Code Block adds inspector controls to the WordPress core Code block:

  • Language select with Prism.js highlighting in the editor and on the frontend
  • Optional line numbers
  • Tab key indents inside the block (Shift+Tab outdents); optional spaces instead of tabs
  • Configurable tab size (2 / 4 / 8)
  • Optional copy button before or after the code block, aligned left / center / right (or hidden)

No separate block type — authors keep using the standard Code block.

ئورنىتىش

  1. Upload the plugin folder to /wp-content/plugins/zeddotes-enhanced-code-block (or this directory name).
  2. Run npm install and npm run build if build/ is not present.
  3. Activate the plugin through the Plugins screen.
  4. Insert a Code block and open the Zeddotes Enhanced Code Block panel in the sidebar.

FAQ

Does this replace the core Code block?

No. It extends core/code via block filters.

Where does highlighting run?

In the block editor and on the frontend, via a bundled Prism.js build.

باھالاشلار

بۇ قىستۇرمىغا تېخى باھا يېزىلمىدى.

تۆھپىكار ۋە ئىجادكار

«Zeddotes Enhanced Code Block» كودى ئوچۇق يۇمشاق دېتال. تۆۋەندىكى كىشىلەر بۇ قىستۇرمىغا تۆھپە قوشقان.

تۆھپىكار

«Zeddotes Enhanced Code Block» نى تىلىڭىزغا تەرجىمە قىلىڭ

ئىجادىيەتكە قىزىقامسىز؟

كودقا كۆز يۈگۈرتۈپ، SVN خەزىنە تەكشۈرۈپ ياكى RSSئارقىلىق ئىجادىيەت خاتىرىسىگە مۇشتەرى بولغىلى بولىدۇ.

ئۆزگىرىش خاتىرىسى

1.0.0

  • Initial release: language select, Prism highlighting, configurable copy button.