@sillsdev/docu-notion 0.13.2-alpha.3 → 0.13.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -31,7 +31,7 @@ Currently, docu-notion expects that each page has only one of the following: sub
31
31
 
32
32
  ## 6. Pull your pages
33
33
 
34
- First, determine the id of your root page by clicking "Share" and looking at the the url it gives you. E.g.
34
+ First, determine the id of your root page by clicking "Share" and looking at the url it gives you. E.g.
35
35
  https://www.notion.so/hattonjohn/My-Docs-0456aa5842946bdbea3a4f37c97a0e5
36
36
  means that the id is "0456aa5842946PRETEND4f37c97a0e5".
37
37
 
@@ -133,3 +133,16 @@ Options:
133
133
  # Plugins
134
134
 
135
135
  If your project needs some processing that docu-notion doesn't already provide, you can provide a plugin that does it. See the [plugin readme](src/plugins/README.md).
136
+
137
+ # Callouts ➜ Admonitions
138
+
139
+ To map Notion callouts to Docusaurus admonitions, ensure the icon is for the type you want.
140
+
141
+ - ℹ️ ➜ note
142
+ - 📝➜ note
143
+ - 💡➜ tip
144
+ - ❗➜ info
145
+ - ⚠️➜ caution
146
+ - 🔥➜ danger
147
+
148
+ The default admonition type, if no matching icon is found, is "note".
package/dist/transform.js CHANGED
@@ -103,7 +103,6 @@ function doTransformsOnMarkdown(context, config, input) {
103
103
  replacement = yield mod.getReplacement(context, matchAsThePluginWouldExpectIt);
104
104
  }
105
105
  else if (mod.replacementPattern) {
106
- console.log(`mod.replacementPattern.replace("$1", ${match[2]}`);
107
106
  replacement = mod.replacementPattern.replace("$1", match[2]);
108
107
  }
109
108
  if (replacement !== undefined) {
package/package.json CHANGED
@@ -90,5 +90,5 @@
90
90
  "volta": {
91
91
  "node": "18.16.0"
92
92
  },
93
- "version": "0.13.2-alpha.3"
93
+ "version": "0.13.3"
94
94
  }