View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Be the first to rate this file! 4 Downloads (last 30 days) File Size: 4.38 KB File ID: #41547 Version: 1.0
image thumbnail

Octopress / Jekyll Style Sheet for Publish Command



This XSL style sheet enables publishing MATLAB scripts to an Octopress or Jekyll blog.

| Watch this File

File Information

This XSL style sheet is adapted from the default HTML style sheet that ships with MATLAB. It strips away all of the CSS information and the top-level document markup normally included in published HTML documents, and adds a YAML header so that the file will be recognized and processed by Jekyll.

Jekyll is a simple, blog aware, static site generator written in Ruby. It takes a template directory (representing the raw form of a website), runs it through Textile or Markdown and Liquid converters, and spits out a complete, static website suitable for serving with Apache or your favorite web server. It is free, open-source software available from GitHub.

Octopress builds on Jekyll to simplify and streamline the process of publishing a blog. It's tagline styles the project as "A blogging framework for hackers." It has many convenient facilities for presenting syntax-highlighted code, social sharing, etc.

To use this template, simply set it as the XSL style sheet to be used when publishing your document to HTML. Note, however, that the resulting document will then *require* post-processing by Jekyll before it's valid HTML; therefore the automatic preview opened by MATLAB will not look very pretty.

I adapted this XSL style sheet for my own blog, and am sharing it in the hope that others might find it useful.

Required Products MATLAB
MATLAB release MATLAB 8.1 (R2013a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.

Contact us