“”

Code Snippet CE Code Snippet CE

fs_code_snippet / stable

A content element to render code snippet of various programming languages.

This version supports TYPO3

Older versions also support TYPO3

Composer support

composer req danielgoerz/fs-code-snippet

Tags

#code #snippet #content #fsc

Last upload comment

* Support TYPO3 9 LTS and 10 LTS
* Prism.js 1.21.0
* Simplified handling
* "All languages" dropped
* Improved TCA

Downloads by month

Download 3.1.0 Extension Manual Found an Issue? Code Insights Packagist.org Donate and Give Kudos
Author
Daniel Goerz
Last update
22. Aug 2020
First upload
23. Dec 2015
Downloads
12,494
Category
Frontend
Dependencies
  • TYPO3 (9.5.0 - 10.4.99)
  • fluid_styled_content
  • t3editor

Installation

  1. Download ZIP file
  2. Log into your TYPO3 backend
  3. Go to Extension Manager module
  4. Press the upload button on the top bar
  5. Select the ZIP file and upload it. If you want to overwrite an existing extension installation, activate the checkbox.
  1. Go to your folder where the root composer.json file is located
  2. Type: composer req danielgoerz/fs-code-snippet to get the latest version that runs on your TYPO3 version.
  1. Download T3X file
  2. Log into your TYPO3 backend
  3. Go to Extension Manager module
  4. Press the upload button on the top bar
  5. Select the T3X file and upload it. If you want to overwrite an existing extension installation, activate the checkbox.

Version history

Version Upload comment Works with TYPO3 Download
3.1.0 / stable
August 22, 2020
* Support TYPO3 9 LTS and 10 LTS
* Prism.js 1.21.0
* Simplified handling
* "All languages" dropped
* Improved TCA
9.5.0 - 10.4.99 Download
2.0.0 / stable
October 03, 2019
* Compatibility with TYPO3 9LTS only
* Update to prism 1.17
* Update to gulp 4.0 (only used for building)
* Use expression language for TS condition
* Overall code cleanup
* Removal of fallback mechanisms for TYPO3 8LTS
9.5.0 - 9.5.99 Download
1.9.0 / stable
December 14, 2017
* Update to prism 1.9.0
* Added support for new Components:
** Arduino
** OpenCL
** Django/Jinja2
** N4JS
** Ren'py
** VB.Net
* Enabled support for YAML by default
* Removed bower (internal)
* Minor fixes
7.6.0 - 8.7.99 Download
1.8.0 / stable
April 06, 2017
Compatibility with TYPO3 8 LTS
7.6.0 - 8.7.99 Download
1.7.0 / stable
February 16, 2017
* Upgrade to prism 1.6.0
* Enable copy to clipboard feature be default
* Added languages .properties, Ada, GraphQL, Jolie, LiveScript, Reason and Xojo
* Compatibility with TYPO3 7.6 - 8.6
7.6.0 - 8.6.99 Download
1.6.1 / stable
October 26, 2016
New Feature: All supported languages can be activated now in the extension configuration in the extension manager.

Compatibility with TYPO3 8.4
7.6.0 - 8.4.99 Download
1.5.0 / stable
September 10, 2016
* [FEATURE] Line numbers are now configurable
* [TASK] Appearance tab is now visible in TCA
* [TASK] prism.js updated to 1.5.1
* [TASK] Compatibility with TYPO3 7 LTS and 8.3
* [TASK] Improved Documentation
7.6.0 - 8.3.99 Download
1.4.0 / stable
May 18, 2016
Added first draft of TypoScript Highlighting. This will change the output of TypoScript snippets (for the better).

Also support for TYPO3 8.1 was added.
7.6.0 - 8.1.99 Download
1.3.1 / stable
March 20, 2016
Bugfix release
7.6.0 - 7.6.99 Download
1.3.0 / stable
March 20, 2016
Added the command-line feature (http://prismjs.com/plugins/command-line/)
7.6.0 - 7.6.99 Download
1.2.0 / stable
February 27, 2016
Expanded default. Added JSON and apache config to default.
Small Bugfixes as well.
7.6.0 - 7.6.99 Download
1.1.0 / stable
February 27, 2016
Introduced an Enumaration class with all programming languages supported by prism.js.
Small Bugfixes included as well.
7.6.0 - 7.6.99 Download
1.0.0 / stable
December 23, 2015
1.0.0
7.6.0 - 7.6.99 Download