이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

Better WordPress Syntax Highlighter

설명

This plugin allows you to highlight code syntax in your posts. It is simple, lightweight, and very easy to use with plenty of options to choose. This plugin works with both editors and won’t mangle your code format. This plugin utilizes the popular PHP syntax highlighting library – GeSHi.

Some Features

  • Load the plugin only when you need it
  • Option to load media files (CSS, JS, etc.) only when needed
  • Built-in hooks for easier customization
  • A lot of options to choose (I bet you don’t need them all!)
  • Preview any snipplet of code to match your preference
  • Possibility to add more languages
  • Parse code within <pre> tag, <code> tag or using shortcode
  • Parse code within comments
  • Editor button to add code
  • Two output methods, Table or Ordered list
  • Style code globally or language-based
  • WordPress Multi-site compatible (not tested with WPMU)
  • And more…

Get in touch

Languages

Please help translate this plugin!

Visit Plugin’s Official Page for more information!

스크린샷

  • Highlight syntax using the Table output method
  • Highlight syntax using the Ordered List output method
  • Editor button to highlight a block of text

설치

  1. Upload the better-wordpress-syntax-based-on-geshi folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the Plugins menu in WordPress. After activation, you should see a menu of this plugin on your left. If you can not locate it, click on Settings under the plugin’s name.
  3. Configure the plugin
  4. Add code using the Editor Button
  5. Enjoy!

View instructions with images.

후기

이 플러그인에 대한 평가가 없습니다.

기여자 & 개발자

“Better WordPress Syntax Highlighter”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “Better WordPress Syntax Highlighter”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

1.0.6

  • Marked as WordPress 3.7 compatible.
  • Added an Italian translation. Thanks to Paolo Stivanin!
  • Updated BWP Framework to fix a possible bug that causes BWP setting pages to go blank.
  • Updated GeSHi library to version 1.0.8.11.
  • Fixed a typo that causes an error with W3C validation.
  • Good news: ManageWP.com has become the official sponsor for BWP Syntax – Read more.

1.0.5

  • Fixed a small issue regarding HTML entities. Thanks again to tiaurus for reporting the bug!
  • Fixed a possible bug of the editor button when wp-config.php file was moved one directory up.

1.0.4

  • Added a temporary fix for some HTML entities’ issues. Thanks to tiaurus!

1.0.3

  • Added 6 more default languages, as requested by users, including: Bash Script (bash), CSharp (csharp), Actionscript (as), Actionscript3 (as3), Apache (apache), MySQL (mysql).
  • Improved code preview
  • Improved generated CSS
  • Fixed the wrong version number in configuration page.

1.0.2

  • Fixed a critical bug with the editor button (this is due to WordPress’s naming mechanism when submitting plugin).

1.0.1

  • Fixed a minor Multi-site issue.

1.0.0

  • Initial Release.