aboutsummaryrefslogtreecommitdiffhomepage
path: root/addon/index.mjs
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2024-10-17 10:28:32 +0800
committerHsieh Chin Fan <pham@topo.tw>2024-10-17 10:28:32 +0800
commit337a562ee8c9e2531a1a6799acaa66567ad7ef12 (patch)
tree818b4daf06bc35191074f650fc2d28ffc5e8ba52 /addon/index.mjs
parente4f01ea8f7817fa738ea9012fa217a2b9eca88aa (diff)
feat: option "autoMap" in case no valid render target in Semantic HTML
Diffstat (limited to 'addon/index.mjs')
-rw-r--r--addon/index.mjs1
1 files changed, 1 insertions, 0 deletions
diff --git a/addon/index.mjs b/addon/index.mjs
index 092adc4..b5d71ba 100644
--- a/addon/index.mjs
+++ b/addon/index.mjs
@@ -38,4 +38,5 @@ window.generateMaps(document.querySelector('main') ?? document.body, {
38 addBlocks, 38 addBlocks,
39 initialLayout: '', 39 initialLayout: '',
40 render: simpleRender, 40 render: simpleRender,
41 autoMap: true,
41}) 42})