"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "plugins/outhtml_add_background_svg.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_background_svg.lua  (highlight-3.48.tar.bz2):outhtml_add_background_svg.lua  (highlight-3.49.tar.bz2)
--[[ --[[
Sample plugin file for highlight Sample plugin file for highlight
Adds a background pattern using an inline SVG Adds a background pattern using an inline SVG
]] ]]
Description="Adds a background inline SVG pattern for HTML output (edit paramete rs in the file)" Description="Adds a background inline SVG pattern for HTML output (edit paramete rs in the file)"
Categories = {"format", "html" }
-- function to update theme definition -- function to update theme definition
-- optional parameter: theme description -- optional parameter: theme description
function themeUpdate() function themeUpdate()
--EDIT to change grid size --EDIT to change grid size
gridsize = 25 gridsize = 25
function lighten(colour) function lighten(colour)
if string.match(colour, "#%x+")==nil then if string.match(colour, "#%x+")==nil then
return "rgb(0,0,0)" return "rgb(0,0,0)"
 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)