Mathematica Toolbox Wordpress Plugin - Rating, Reviews, Demo & Download
Plugin Description
Mathematica Toolbox adds a set of shortcodes that can do Mathematica code highlighting, CDF embedding, and more. For detailed information about all the shortcodes please visit the documentation:
http://cekdahl.github.io/MathematicaToolbox
If you would like to control WordPress programmatically from a Mathematica notebook, check out the Wolfram Language WordPress XML-RPC client:
http://github.com/cekdahl/wl-wordpress-xmlrpc-client
Syntax highlighting and formatting
- Uses the same highlighting script that is used on Mathematica.StackExchange.com and on Wolfram Community.
- Preserves code indentation and prevents WordPress from inserting
<br>
and<p>
into code. - Replaces Wolfram Language character codes such as
[Alpha]
,[Gamma]
etc. with their corresponding characters.
Embed Wolfram technologies
- Easily embed CDFs in any post or page.
- Retrieve and display an image from a Wolfram Cloud API.
- Retrieve and display raw data from a Wolfram Cloud API.
- Display a link to the documentation of a Wolfram Language function.
Retrieve Mathematica.StackExchange data
- Show a box with profile information
- Create links to questions and answers based on their IDs
- Make arbitrary requests to the Mathematica.StackExchange API
Screenshots
-
CDFs can be included in WordPress posts, as well as data and images from Wolfram Cloud APIs.
-
There are two different ways to include highlighted code blocks, but they produce the same result. Character codes such as
[Alpha]
get replaced automatically with their corresponding characters. -
Handy shortcodes can render usernames and links to the online documentation.
-
Shortcodes that interface with the Stackexchange API can retrieve information about a user.
[mma_se_profile_box user_id="731"]
creates the profile box seen in the image. -
Answers specified by IDs, retrieved from the Stackexchange API.
-
The top metabox is the “toolbox” which the plugin is named after. A click on one of those buttons inserts the corresponding shortcode into the editor. Below the toolbox there is an example of code in custom post fields, which can be included in the post using
[wlcode field="example"]
and[wlcode field="glyphs"]
respectively.