From Wikipedia, the free encyclopedia
require('Module:No globals');
local function math_test (frame)
local out = frame.args.math_text:gsub ('%$([^%$]-)%$', '<math display=inline>%1</math>')
return frame:preprocess (out);
end
return
{
math_test = math_test,
}