summaryrefslogtreecommitdiff
path: root/support/make4ht/extensions/make4ht-ext-join_colors.lua
blob: 4d72b0e15b57cfe0cfe64da2d1e547f12930ba89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
local M = {}

local filter = require "make4ht-domfilter"

-- filters support only html formats
function M.test(format)
  if format == "odt" then return false end
  return true
end

function M.modify_build(make)
  local process = filter {"joincolors"}
  make:match("html?$", process)
  return make
end
return M