這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

SyntaxHighlighter – Spacegray

描述

A nice Color Scheme for “SyntaxHighlighter Evolved” based on “Spacegray”, the lovely Theme for Sublime Text 2/3.

Spacegray for Sublime Text 2/3 is here: https://github.com/kkga/spacegray

安裝

This plugin depends on the main “SyntaxHighlighter Evolved” plugin. Please download and install the plugin according to the author’s instructions. The main plugin can be downloaded here: https://wordpress.org/support/plugin/syntaxhighlighter or by searching “SyntaxHighlighter Evolved” in your WordPress Dashboard.

Using The WordPress Dashboard

  1. Navigate to the ‘Add New’ in the plugins dashboard
  2. Search for ‘Syntaxhighlighter Spacegray’
  3. Click ‘Install Now’
  4. Activate the plugin on the Plugin dashboard
  5. Go to the main plugin’s “SyntaxHighlighter Evolved” settings and in the “Color Theme”, select “Spacegray” or “Spacegray – Light”.
  6. Save the new settings.

Uploading in WordPress Dashboard

  1. Navigate to the ‘Add New’ in the plugins dashboard
  2. Navigate to the ‘Upload’ area
  3. Select syntaxhighlighter-spacegray.zip from your computer
  4. Click ‘Install Now’
  5. Activate the plugin in the Plugin dashboard
  6. Go to the main plugin’s “SyntaxHighlighter Evolved” settings and in the “Color Theme”, select “Spacegray” or “Spacegray – Light”.
  7. Save the new settings.

Using FTP

  1. Download syntaxhighlighter-spacegray.zip
  2. Extract the syntaxhighlighter-spacegray directory to your computer
  3. Upload the syntaxhighlighter-spacegray directory to the /wp-content/plugins/ directory
  4. Activate the plugin in the Plugin dashboard
  5. Go to the main plugin’s “SyntaxHighlighter Evolved” settings and in the “Color Theme”, select “Spacegray” or “Spacegray – Light”.
  6. Save the new settings.

常見問題

Missings selectors or values like “h1”, @keyframes etc…

It lacks a lot of tags, values ​​and selectors. This is not my theme. The problem is the “SyntaxHighlighter Evolved” plugin for which many tags are still missing. I left messages on the forum plugin, I wait for answers 🙂

Can I add tags myself

Of course you can but it’s a bit dangerous and complicated. You have to add the tags in the “SyntaxHighlighter Evolved” core plugin and if the author release an update, you’ll loose your tags.
I’ll soon write a tutorial in my own blog if you still want to add tags. I’ll make a new release of my plugin to notify you.

評價

There are no reviews for this plugin.

貢獻者及開發者

“SyntaxHighlighter – Spacegray” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 SyntaxHighlighter – Spacegray 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.0.2

  • Plugin ready for WP 3.9. No more changes 🙂

1.0.1

  • Clean all the css files
  • Remove Source Sans Pro font.

1.0

  • First release \o/