ཞིབ་བརྗོད།
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.
སྒྲིག་འཇུག
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.
FAQ
- 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.
གདེང་འཇོག
There are no reviews for this plugin.
བྱས་རྗེས་འཇོག་མཁན། & གསར་འབྱེད་པ།
“SyntaxHighlighter Evolved: Fortran” is open source software. The following people have contributed to this plugin.
བྱས་རྗེས་འཇོག་མཁན།ཁྱེད་ཀྱི་སྐད་ཡིག་ནང་ལ་ “SyntaxHighlighter Evolved: Fortran” ཡིག་སྒྱུར་བྱོས།
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
དག་བཅོས་ཉིན་ཐོ།
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