"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "plugins/outhtml_add_figure.lua" between
highlight-3.48.tar.bz2 and highlight-3.49.tar.bz2

About: highlight converts source code to formatted text with syntax highlighting (for e.g. to HTML, XHTML, RTF, TeX, LaTeX, SVG, BBCode and XML format).

outhtml_add_figure.lua  (highlight-3.48.tar.bz2):outhtml_add_figure.lua  (highlight-3.49.tar.bz2)
Description="Adds figure and figcapture in HTML output. Define capture as plug-i n parameter." Description="Adds figure and figcapture in HTML output. Define capture as plug-i n parameter."
Categories = {"format", "html" }
function syntaxUpdate(desc) function syntaxUpdate(desc)
if (HL_OUTPUT ~= HL_FORMAT_HTML and HL_OUTPUT ~= HL_FORMAT_XHTML) then if (HL_OUTPUT ~= HL_FORMAT_HTML and HL_OUTPUT ~= HL_FORMAT_XHTML) then
return return
end end
HeaderInjection="<figure class=\"hl\"><figcaption>"..HL_PLUGIN_PARAM.."</figca ption>\n" HeaderInjection="<figure class=\"hl\"><figcaption>"..HL_PLUGIN_PARAM.."</figca ption>\n"
FooterInjection="\n</figure>" FooterInjection="\n</figure>"
end end
function themeUpdate(desc) function themeUpdate(desc)
if (HL_OUTPUT == HL_FORMAT_HTML or HL_OUTPUT == HL_FORMAT_XHTML) then if (HL_OUTPUT == HL_FORMAT_HTML or HL_OUTPUT == HL_FORMAT_XHTML) then
 End of changes. 1 change blocks. 
0 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)