Descriere
SyntaxHighlighter Evolved: Fortran is a plugin for self-hosted WordPress installations that adds support to Alex Mills’ (Viper007) SyntaxHighlighter Evolved plugin for the Fortran language.
It provides a brush designed to work with the SyntaxHighlighter Evolved WordPress plugin. To be able to use this plugin, you will need to have the SyntaxHighlighter Evolved plugin installed.
For a live demo, see this plugin’s homepage.
-
This plugin follows the programming conventions outlined by Alex Mills for extending his plugin: Adding A New Brush (Language)
-
This plugin uses the Fortran brush created by Shawn Chin.
-
This plugin is based on similar work by Sandro Bilbeisi.
-
SyntaxHighlighter Evolved WordPress plugin by Alex Mills is based on the SyntaxHighlighter JavaScript package by Alex Gorbatchev.
Instalare
In order to use SyntaxHighlighter Evolved: Fortran, you must first install SyntaxHighlighter Evolved.
- Extract all files from
syntaxhighlighter-evolved-fortran.zip
- Upload the
syntaxhighlighter-evolved-fortran
directory to the/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Wrap code you want highlighted in
[fortran]
tags
Alternatively, you can install the plugin from within your WordPress Dashboard by navigating to Plugins > Add New
, and from there searching for ‘SyntaxHighlighter Evolved: Fortran’.
Plugin Usage
Wrap your code in
</code> tags like so: [sourcecode language="fortran"] your code here
Or wrap your code in [fortran]
tags like so:
[fortran]
your code here
[/fortran]
The shortcodes accept a wide variety of parameters. For details, see the bottom of the SyntaxHighlighter Evolved's settings page.
Întrebări frecvente
- The code is just being displayed raw. It isn’t being converted into a code box or anything. What’s wrong?
-
Make sure your theme’s
footer.php
file has<?php wp_footer(); ?>
somewhere inside of it, otherwise the plugin won’t work.
Recenzii
Nu există nicio verificare pentru acest modul.
Contributori și dezvoltatori
„SyntaxHighlighter Evolved: Fortran” este un software open-source. La acest modul au contribuit următoarele persoane.
ContributoriTradu „SyntaxHighlighter Evolved: Fortran” în limba ta.
Te interesează dezvoltarea?
Răsfoiește codul, vezi depozitarul SVN, sau abonează-te la jurnalul de dezvoltare prin RSS.
Istoric modificări
2.0
- This update switches the brush file to Shawn Chin’s Fortran brush. Provides support for Fortran 77, 95, and 2003, as well as some proprietary functions. Updated version does a much better job selecting key words to highlight.
- Updated readme.txt to better comply with validation rules
1.0
- Initial release