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.

TabbedCode

Beskrivning

Adds Shortcodes for adding code examples in tabs to your blog.

The Plugin adds two shortcodes.
The first is [tab_group] and it needs an id. This id must be unique!
The second is [tab_code] and it takes the language from your code snippet as parameter.
You can use all languages from highlight.js.
When no language is provided the text will be interpreted as a simple text.

Example:

[tab_group id="hello-world"]
    [tab_code lang="javascript"]
        console.log("Hello World");
    [/tab_code]
    [tab_code lang="sql"]
        SELECT * FROM hello_world;
    [/tab_code]
    [tab_code]
        Hello World
    [/tab_code]
[/tab_group]

Skärmdumpar

  • Example tab group for code

Installation

  1. Install the plugin through the WordPress plugins screen directly or upload the plugin to /wp-content/plugins/TabbedCode directory
  2. Activate the plugin through the ’Plugins’ screen in WordPress

Vanliga frågor

Installation Instructions
  1. Install the plugin through the WordPress plugins screen directly or upload the plugin to /wp-content/plugins/TabbedCode directory
  2. Activate the plugin through the ’Plugins’ screen in WordPress

Recensioner

Detta tillägg har inga recensioner.

Bidragsgivare och utvecklare

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

Bidragande personer

Översätt ”TabbedCode” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

1.0

  • Release