Prettify MATLAB html
Editor's Note: This file was selected as MATLAB Central Pick of the Week
Cite As
Harry Dymond (2024). Prettify MATLAB html (https://www.mathworks.com/matlabcentral/fileexchange/78059-prettify-matlab-html), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
prettify documentation/html
publish overload
prettify documentation
Version | Published | Release Notes | |
---|---|---|---|
6.8 | -- Added support for UTF-8-encoded HTML files, as generated by newer versions of MATLAB
|
||
6.7 | -- Changed html implementation of [brx] tags for better cross-browser support
|
||
6.6.0.1 | Updated description |
||
6.6 | -- Improved error handling, including display of name of file being processed, if warnings and/or errors occur
|
||
6.5 | Details boxes now open automatically if they are closed and the user clicks an internal page link that links to the box |
||
6.4.1 | Fixed bug that could occur when <tt> tags are replaced by <code> tags (HTML5 validation fix) |
||
6.4 | - Now allows negative values for the [brx] tag
|
||
6.2 | Fixed bug when processing nested [class.<class name>] tags |
||
6.1 | Fixed bug when processing <style></style> tags in embedded html |
||
6.0 | - Fixed html 5 compliance issues, some due to the built-in publish, and some due to prettify
|
||
5.1.1 | - Fixed upload issue |
||
5.1 | - Improved floating back button functionality when page is viewed on MATLAB Central
|
||
5.0.1 | Updated documentation to recommend that when creating in-page links to [dtls] boxes, the [targetn] tag should be placed immediately before the opening [dtls] tag. |
||
5.0 | - Adds a "return" floating button/link when user follows an in-page link (but not if page is viewed in MATLAB help browser)
|
||
4.5 | If pages are viewed in the "Examples" tab on MATLAB Central:
|
||
4.4 | Now includes version number of prettify_MATLAB_html in the footer link |
||
4.3 | - No longer creates extra space after monospaced text (e.g. |text| ) that is wrapped in [class], [scale], or [colour] tags
|
||
4.2 | - Fixed issue with collapse-all/expand-all links in help browser of recent versions of MATLAB
|
||
4.1 | - Improved syntax checking for [dtls] tags
|
||
4.0 | - Enables nesting of [dtls] boxes
|
||
3.14 | - Improved error handling
|
||
3.11 | Better handling of malformed syntax in the source .m file |
||
3.10 | Fixed bug associated with [frameBufferx] tag |
||
3.9.1 | Minor documentation tweaks |
||
3.9 | Added [frameBufferx] tag to work around issue of MATLAB central miscalculating height of document |
||
3.8 | Fixed bug with "collapse/expand all" controls for pages with ten or more sections |
||
3.7.1 | Minor code tidy |
||
3.7 | - Added "built-in" publish CSS classes (see end of .m file for list) as valid when using the [class.class-name] tag (but these won't be in the pop-up list when the "class" Toolbar button is pressed.)
|
||
3.6 | - Fixed bug when multiple images appear inside [dtls] sections
|
||
3.5 | - Improved enclosing of inline html into [dtls] sections (again)
|
||
3.4 | - Fixed bug with "collapse/expand all on page" link when page has no sections
|
||
3.3 | - Added support for nesting of css classes e.g. [class.a][class.b]this item will be formatted according to css classes a and b[/class][/class]
|
||
3.2 | - Improved method of assigning classes and styles |
||
3.1 | - Added workaround for MATLAB central miscalculating page height |
||
3.0 | - Added support for new tags: [cssClasses], [class.class-name], [scalex], [colour#], [themesEnabled], and [darkAlt]
|
||
2.0 | - Added method for adding shortcuts to Quick-Access Toolbar, that then allow easy adding of tags to source .m file
|
||
1.1 | - Improved method of closing [dtls] sections
|
||
1.0 | First release |
||
0.0.0 |