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


local filter = require "make4ht-filter"
function M.test(format)
  if format == "odt" then return false end
  return true
end

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

return M