Nid yw'r ategyn hwn wedi cael ei ddiweddaru ers 3 ryddhad mawr. Efallai nad yw'n cael ei gynnal bellach ac efallai bod materion cydnawsedd wrth gael ei ddefnyddio gyda fersiynau mwy diweddar o WordPress.

Alkane Code

Disgrifiad

Alkane Code is a user-friendly, lightweight code editor for TinyMCE that adds ‘language-‘ classes to HTML code elements. It can be used to add inline code as well as block code, and syntax highlighting at the front-end is performed using Prism.js with auto-loaded languages. It does not support the Gutenberg editor. You will need to install the ‘Classic Editor’ plugin to use this code editor.

More Information

Alkane Code homepage

Lluniau Sgrin

  • Alkane Code button in TinyMCE.
  • Alkane Code code editor in TinyMCE.
  • Prism.js syntax highlighting.
  • Alkane Code settings page.

Gosod

  1. Upload “alkanecode” to the “/wp-content/plugins/” directory.
  2. Activate the plugin through the “Plugins” menu in WordPress.
  3. Configure from Settings > Alkane Code Settings.

Adolygiadau

There are no reviews for this plugin.

Contributors & Developers

“Alkane Code” is open source software. The following people have contributed to this plugin.

Cyfranwyr

Translate “Alkane Code” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Cofnod Newid

1.0.0

  • Initial release.

1.0.1

  • Updated readme.txt.

1.0.2

  • Updated description of plugin.

1.0.3

  • Updated description of plugin.

1.0.4

  • Added prism .map files. Renamed settings menu entry.

1.0.5

  • Added tab support in editor plus various bug fixes.

1.0.6

  • Set block level code to default as opposed to inline.

1.0.7

  • Disabled on mobile devices, since it slows page load down for larger scripts.

1.0.8

  • Re-enabled on mobile devices, but forcefully renders as ‘markup’ language for faster loading.

1.0.9

  • Bug fixes for when theme and languages selections are initially undefined.