Plugin này chưa được cập nhật với 3 phiên bản mới nhất của WordPress. Nó có thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress mới nhất.

JSJ Code Highlight

Mô tả

JSJ Code Highlight is a simple syntax highlighter for all your WordPress code snippets. The plugin includes four visual themes to enchance the look and feel of your code. These themes (taken form Highlight.js) have been enhanced for a more contemporary feel.

Above all the plugin aims to be simple and intuitive. Rather than bloating the plugin with features, the plugin has only a small set of carefully curated options to maximize simplicity and ease-of-use.

The plugin includes the ability to:

  • Choose from a variety of themes
  • Choose from various mono-spaced typefaces
  • Add line numbers to your code automatically
  • Activate tab replacement for your code

Plugin by Jorge Silva-jetter

Built with Highlight.js

Inpsired by Octopress

Available Options

Visual Themes: ‘Monakai Sublime’, ‘Solarized Dark’, ‘Github’, and ‘Tommorow’

Typefaces: Inconsolta, Droid Sans Mono, Source Code Pro, Deja Vu Sans Mono, Web Fonts

Enhance visual style with custom CSS

Add line numbers to code blocks

Do automatic tab replacement on code blocks

Ảnh màn hình

  • Monakai Sublime. 1 of 4 avialable themes.
  • Solarized Dark. 1 of 4 avialable themes.
  • Github. 1 of 4 avialable themes.
  • Tommorow. 1 of 4 avialable themes.
  • You can also remove line number and additional CSS for a more simple look or for writing your own CSS.
  • Admin interface

Cài đặt

  1. Upload the entire jsj-gallery-slideshow folder to the /wp-content/plugins/ directory or simply use the Plugin upload interface in the admin.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress. At that moment, all your code snippets will be automatically converted into JSJ Code Highlight blocks.
  3. Optional: If you want to change any of the options for the plugin, go to Settings -> JSJ Code Highlight.

Hỏi đáp

If you have any questions, please try to add a ticket in the WordPress support forum for this plugin.

If you have any feedback or suggestions, email me at jorge dot silva at thejsj dot com.

Đánh giá

Đọc tất cả 8 đánh giá

Người đóng góp & Lập trình viên

“JSJ Code Highlight” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

Nhật ký thay đổi

1.0

Added Code Highlight with lines numbers and without
Four Basic themes from Highlight.js
Basic syntax highlighting
Option for various fonts
Hooks for add-ons and other plugins.

1.0.2

Fixing minor extra action in plugin