@readme/markdown 9.10.0 → 9.11.0
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/dist/main.js +2 -1
- package/dist/main.node.js +2 -1
- package/dist/main.node.js.map +1 -1
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -58543,7 +58543,6 @@ const types = {
|
|
|
58543
58543
|
Code: 'code',
|
|
58544
58544
|
CodeTabs: NodeTypes.codeTabs,
|
|
58545
58545
|
EmbedBlock: NodeTypes['embed-block'],
|
|
58546
|
-
Glossary: NodeTypes.glossary,
|
|
58547
58546
|
ImageBlock: NodeTypes.imageBlock,
|
|
58548
58547
|
HTMLBlock: NodeTypes.htmlBlock,
|
|
58549
58548
|
Table: 'table',
|
|
@@ -89948,6 +89947,8 @@ const embedToEmbedBlock = (node) => {
|
|
|
89948
89947
|
const compatibility = (node) => {
|
|
89949
89948
|
switch (node.type) {
|
|
89950
89949
|
case NodeTypes.glossary: {
|
|
89950
|
+
// Glossary terms will no longer be serialized as special node types in the Editor but we want to ensure that we compile historical
|
|
89951
|
+
// data correctly
|
|
89951
89952
|
const term = node.data?.hProperties?.term || node.children[0].value;
|
|
89952
89953
|
return `<Glossary>${term}</Glossary>`;
|
|
89953
89954
|
}
|
package/dist/main.node.js
CHANGED
|
@@ -75453,7 +75453,6 @@ const readme_components_types = {
|
|
|
75453
75453
|
Code: 'code',
|
|
75454
75454
|
CodeTabs: NodeTypes.codeTabs,
|
|
75455
75455
|
EmbedBlock: NodeTypes['embed-block'],
|
|
75456
|
-
Glossary: NodeTypes.glossary,
|
|
75457
75456
|
ImageBlock: NodeTypes.imageBlock,
|
|
75458
75457
|
HTMLBlock: NodeTypes.htmlBlock,
|
|
75459
75458
|
Table: 'table',
|
|
@@ -106858,6 +106857,8 @@ const embedToEmbedBlock = (node) => {
|
|
|
106858
106857
|
const compatibility = (node) => {
|
|
106859
106858
|
switch (node.type) {
|
|
106860
106859
|
case NodeTypes.glossary: {
|
|
106860
|
+
// Glossary terms will no longer be serialized as special node types in the Editor but we want to ensure that we compile historical
|
|
106861
|
+
// data correctly
|
|
106861
106862
|
const term = node.data?.hProperties?.term || node.children[0].value;
|
|
106862
106863
|
return `<Glossary>${term}</Glossary>`;
|
|
106863
106864
|
}
|