No results available
ResetExternal Files
by Adam Hopkinson
Description
External files provides a shortcode [external] which can be used to insert the contents of a file or url into the current post or page. The plugin will automatically format the text based on the extension (for files) or mime type (for urls), using Alex Gorbatchevs’ Syntax Highlighter javascript.
The shortcode can accept three optional parameters:
format can be used to specify a highlighting format, rather than letting the plugin decide which format to use
start specifies a line number to output from, so sections of a file/url can be shown
end specifies the line to stop at
See the installation page for usage examples.
The available formats are:
AS3
Bash
Cpp
CSharp
Css
Delphi
Diff
Groovy
Java
JavaFX
JScript
Perl
Php
Plain
PowerShell
Python
Ruby
Scala
Sql
Vb
Xml
Future features
Following is a list of ideas and features to add:
BASE_PATH and BASE_URL options that can be used in the shortcode to avoid typing the same long path/url each time
a list of available formats with the checkboxes to enable/disable each individually, thus avoiding having to load all of them
an option for changing the theme of the syntax highlighter
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.
To create a collection, simply click on the symbol on the desired plugin.
You can see this symbol when you move the mouse over the plugin.
Current Level
You have reached 0 views on your collections and are currently Plugin Magican. You magically help people find the right plugins and are a great asset to the community