{"version":3,"sources":["jsdelivr-header.js","/npm/htex@0.0.8/src/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,OCNO,OAAQ,0BACH,YAAa,yBACb,YAAa,8BAEV,SAAU,EAAQ,EAAU,CAAC,GAC3C,IAAK,IAAI,KAAQ,QACa,mBAAlB,QAAQ,IAAyB,EAAO,UAAU,IAC5D,EAAO,UAAU,EAAM,QAAQ,IAIjC,EAAO,UAAU,GAAI,EAAQ,UAE7B,IAAK,IAAI,KAAY,SACM,IAAtB,EAAQ,IACX,EAAO,UAAU,QAAQ,GAAW,EAAQ,IAI1C,EAAQ,YACX,EAAO,iBAAiB,CACvB,KAAM,EAAQ,YAGjB,QAES","file":"/npm/htex@0.0.8/src/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/htex@0.0.8/src/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","import md from \"./markdown.js\";\nimport * as plugins from \"./plugins.js\";\nimport * as filters from \"./filters.js\";\n\nexport default function (config, options = {}) {\n\tfor (let name in filters) {\n\t\tif (typeof filters[name] === \"function\" && !config.getFilter(name)) {\n\t\t\tconfig.addFilter(name, filters[name]);\n\t\t}\n\t}\n\n\tconfig.addPlugin(md, options.markdown);\n\n\tfor (let pluginId in plugins) {\n\t\tif (options[pluginId] !== false) {\n\t\t\tconfig.addPlugin(plugins[pluginId], options[pluginId]);\n\t\t}\n\t}\n\n\tif (options.serverPort) {\n\t\tconfig.setServerOptions({\n\t\t\tport: options.serverPort\n\t\t});\n\t}\n}\n\nexport { filters };\n"]}