Title: Smart Syntax
Author: Smartpixels
Published: <strong>18 juni 2014</strong>
Last modified: 27 september 2016

---

Sök tillägg

![](https://ps.w.org/smart-syntax/assets/banner-772x250.png?rev=934225)

Det här tillägget **har inte testats med någon av de 3 senaste huvudversionerna 
av WordPress**. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem
när det används tillsammans med nyare versioner av WordPress.

![](https://ps.w.org/smart-syntax/assets/icon.svg?rev=979555)

# Smart Syntax

 Av [Smartpixels](https://profiles.wordpress.org/smartpixels/)

[Ladda ner](https://downloads.wordpress.org/plugin/smart-syntax.1.0.3.zip)

 * [Detaljer](https://sv.wordpress.org/plugins/smart-syntax/#description)
 * [Recensioner](https://sv.wordpress.org/plugins/smart-syntax/#reviews)
 *  [Installation](https://sv.wordpress.org/plugins/smart-syntax/#installation)
 * [Utveckling](https://sv.wordpress.org/plugins/smart-syntax/#developers)

 [Support](https://wordpress.org/support/plugin/smart-syntax/)

## Beskrivning

[Smart Syntax](http://www.smartpixels.net/?post_type=products&p=190) plugin automatically
adds Google prettify syntax highlighting to the fenced code blocks in both content
and comments.

It’s made with [Jetpack](http://jetpack.me/) markdown in mind, which brings the 
power of markdown extra to WordPress and gives you an easy to use markdown syntax
for fenced code blocks.

For more information on usage and features, check out [smartpixels](http://www.smartpixels.net/?post_type=products&p=190).

## Installation

 1. Install Smart Syntax either via the WordPress.org plugin directory, or by uploading
    the files to your server
 2. Activate Smart Syntax through the ’Plugins’ menu in WordPress.You will now see ’
    Smart Syntax’ menu in admin sidebar.
 3. You can leave the default settings as it is or change according to your needs.
 4. Voila! Your code is now highlighted.

## Vanliga frågor

  I don’t use Jetpack markdown?

Jetpack markdown is not a necessity. You can add syntax highlighting for fenced 
code blocks in the following format

    ```
     &lt;pre&gt;&lt;code class=&quot;html&quot;&gt; echo 'Hello World!'; &lt;/code&gt;&lt;/pre&gt;
    ```

  How do I contact you ?

Please use the support forum here.

## Recensioner

![](https://secure.gravatar.com/avatar/2a6474b3e5499caf15178b9c30d96f121ce845ba0847020ec226d9a918d364d1?
s=60&d=retro&r=g)

### 󠀁[max-height: 250px; is not necessary.](https://wordpress.org/support/topic/max-height-250px-is-not-necessary/)󠁿

 [matsubobo](https://profiles.wordpress.org/matsubobo/) 3 september 2016 1 svar

I want max-height: 250px; css removed.

 [ Läs alla 3 betyg ](https://wordpress.org/support/plugin/smart-syntax/reviews/)

## Bidragsgivare och utvecklare

”Smart Syntax” är programvara med öppen källkod. Följande personer har bidragit 
till detta tillägg.

Bidragande personer

 *   [ Smartpixels ](https://profiles.wordpress.org/smartpixels/)
 *   [ Arul ](https://profiles.wordpress.org/arulpr/)

[Översätt ”Smart Syntax” till ditt språk.](https://translate.wordpress.org/projects/wp-plugins/smart-syntax)

### Intresserad av programutveckling?

[Läs programkoden](https://plugins.trac.wordpress.org/browser/smart-syntax/), kika
på [SVN-filförvaret](https://plugins.svn.wordpress.org/smart-syntax/) eller prenumerera
på [utvecklarloggen](https://plugins.trac.wordpress.org/log/smart-syntax/) via [RSS](https://plugins.trac.wordpress.org/log/smart-syntax/?limit=100&mode=stop_on_copy&format=rss).

## Ändringslogg

 * Initial release
 * 1.0.3
    Altering google CDN for prettify to reflect the changes

## Meta

 *  Version **1.0.2**
 *  Senast uppdaterat **10 år sedan**
 *  Aktiva installationer **10+**
 *  WordPress-version ** 3.8 eller senare **
 *  Testat upp till **4.6.30**
 *  Språk
 * [English (US)](https://wordpress.org/plugins/smart-syntax/)
 * Etiketter
 * [Code Blocks](https://sv.wordpress.org/plugins/tags/code-blocks/)[markdown](https://sv.wordpress.org/plugins/tags/markdown/)
   [syntax highlighter](https://sv.wordpress.org/plugins/tags/syntax-highlighter/)
 *  [Avancerad vy](https://sv.wordpress.org/plugins/smart-syntax/advanced/)

## Betyg

 5 av 5 stjärnor.

 *  [  3 5-stjärniga recensioner     ](https://wordpress.org/support/plugin/smart-syntax/reviews/?filter=5)
 *  [  0 4-stjärniga recensioner     ](https://wordpress.org/support/plugin/smart-syntax/reviews/?filter=4)
 *  [  0 3-stjärniga recensioner     ](https://wordpress.org/support/plugin/smart-syntax/reviews/?filter=3)
 *  [  0 2-stjärniga recensioner     ](https://wordpress.org/support/plugin/smart-syntax/reviews/?filter=2)
 *  [  0 1-stjärniga recensioner     ](https://wordpress.org/support/plugin/smart-syntax/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/smart-syntax/reviews/#new-post)

[Se alla recensioner](https://wordpress.org/support/plugin/smart-syntax/reviews/)

## Bidragande personer

 *   [ Smartpixels ](https://profiles.wordpress.org/smartpixels/)
 *   [ Arul ](https://profiles.wordpress.org/arulpr/)

## Support

Har du något att säga? Behöver du hjälp?

 [Visa supportforum](https://wordpress.org/support/plugin/smart-syntax/)

## Donera

Skulle du vilja bidra till utvecklingen av detta tillägg?

 [ Donera till det här tillägget ](http://www.smartpixels.net)