renderaren't inherently tied together--
parserForcreates a parser from the
parsekeys in the
ruleOutputcreates an output function from the
htmlkeys in the rules object. Those two rules objects don't need to be the same object; you could create a new object for the output and only have
htmloutput functions in it. I also recommend using Object.assign or _.extend to just customize the necessary rules if you want.