Attach code snippets to blog posts with the Code Enhanced drop-in

Version 1.0 26 downloads

Login to download

Want to share code snippets on your website? Install the Code Enhanced drop-in to add a rich code snippet manager to your post editor. Supports multiple languages and, 1-click code copy, and syntax highlighting.

Demo: See the MD Developer’s docs

Screenshots

Add custom code snippet blocks to your website.
Code snippet blocks manager from the WordPress admin,
Live preview code snippets on your site

Features List

  • Adds new Code Snippet meta box to selected post types
  • Attach code snippet to any post or page
  • Display code with pretty code text highlighting
  • Adds 1-click copy code button to every snippet
  • Does not create any new custom post types

Resources

The Code Enhanced drop-in adds the following dependencies to the pages it is active on (all locally hosted):

  • jQuery (reminder: MD does not load jQuery by default)
  • clipboard.js
  • prism.js

These scripts have been localized to only load on pages that use the Code Enhanced meta box, so you do not need to worry about these scripts loading on unwanted pages.

How to Install and Use

Step 1: Download Drop-in file from this page, or your members area

Step 2: Login to your site, go to WP admin > MD > Drop-ins > Add new

Step 3: Upload and activate Code Enhanced drop-in

Step 4: Once activated you can copy and paste your code snippets into the new Code Snippets meta box where needed.

Code snippet blocks manager from the WordPress admin,
Comments (0)Forum replies (0)

No replies yet

Loading new replies...

MD.com

The Messenger

44 messages 33 likes

View image at the forums

Want to share code snippets on your website? Install the Code Enhanced drop-in to add a rich code snippet manager to your post editor. Supports multiple languages and, 1-click code copy, and syntax highlighting.

Read full article on MD.com...

Reply Like

Leave a Comment