@readme/markdown 6.73.1 → 6.74.1
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/components/Callout/index.jsx +2 -2
- package/components/Callout/style.scss +4 -0
- package/dist/main.css +1 -1
- package/dist/main.js +24 -36
- package/dist/main.node.js +24 -36
- package/package.json +1 -1
|
@@ -8,10 +8,10 @@ const Callout = props => {
|
|
|
8
8
|
return (
|
|
9
9
|
// eslint-disable-next-line react/jsx-props-no-spreading, react/no-unknown-property
|
|
10
10
|
<blockquote {...attributes} className={`callout callout_${theme}`} theme={icon}>
|
|
11
|
-
<
|
|
11
|
+
<h2 className={`callout-heading${title ? '' : ' empty'}`}>
|
|
12
12
|
<span className="callout-icon">{icon}</span>
|
|
13
13
|
{title}
|
|
14
|
-
</
|
|
14
|
+
</h2>
|
|
15
15
|
{content}
|
|
16
16
|
</blockquote>
|
|
17
17
|
);
|
|
@@ -74,6 +74,10 @@
|
|
|
74
74
|
|
|
75
75
|
.callout-heading {
|
|
76
76
|
color: var(--title, --text);
|
|
77
|
+
font-size: 1.25em; // match h3
|
|
78
|
+
font-family: var(--markdown-title-font); // match h3
|
|
79
|
+
font-weight: var(--markdown-title-weight, 600); // match h3
|
|
80
|
+
line-height: 1.25; // match h3
|
|
77
81
|
margin-bottom: calc(#{$l-offset} * 0.5);
|
|
78
82
|
|
|
79
83
|
&:only-child {
|
package/dist/main.css
CHANGED
|
@@ -387,7 +387,7 @@ span.CodeMirror-selectedtext { background: none; }
|
|
|
387
387
|
z-index: 1;
|
|
388
388
|
}
|
|
389
389
|
|
|
390
|
-
.markdown-body img[align='right'],.markdown-body img[alt~='align-right']{float:right;margin-left:0.75rem}.markdown-body img[align='left'],.markdown-body img[alt~='align-left']{float:left;margin-right:0.75rem}.markdown-body img[width='80%'],.markdown-body img[align='center'],.markdown-body img[alt~='align-center'],.markdown-body>img,.markdown-body figure>img{display:block}.markdown-body img{border-style:none;box-sizing:content-box;display:inline-block;margin-left:auto;margin-right:auto;max-width:100%;outline:none !important;vertical-align:middle}.markdown-body img[width='smart']{max-height:450px;max-width:100%;width:auto}.markdown-body img.border{border:1px solid rgba(0,0,0,0.2)}.markdown-body figure{margin:15px auto}.markdown-body figure figcaption{font-size:0.93em;font-style:italic;margin-top:8px;text-align:center}.markdown-body figure .img{display:block}.markdown-body .lightbox.open{align-items:center;background:rgba(255,255,255,0.966);display:flex;flex-flow:nowrap column;height:100vh;justify-content:flex-start;left:0;margin-bottom:0;margin-top:0;overflow:hidden;overflow-y:scroll;position:fixed;top:0;user-select:none;width:100vw;z-index:9999999}.markdown-body .lightbox.open::after{content:'\f00d';cursor:pointer;display:inline-block;font:normal normal normal 2em/1 FontAwesome;font-size:inherit;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;opacity:1;position:fixed;right:1em;text-rendering:auto;top:1em;transform:translate(0, 0);transform:scale(1.5);transition:0.3s 0.3s ease-in}.markdown-body .lightbox.open:not(.open)::after{opacity:0;transform:scale(0)}.markdown-body .lightbox.open .lightbox-inner{align-items:center;box-sizing:content-box;display:inline-flex;justify-content:center;margin:auto;min-height:calc(100vh + 8px);padding:0;position:relative}.markdown-body .lightbox.open img{height:auto !important;max-height:97.5vh !important;max-width:97.5vw !important;min-width:unset !important;width:auto !important}.markdown-body .lightbox.open img.border,.markdown-body .lightbox.open img:not([src$='.png']):not([src$='.svg']):not([src$='.jp2']):not([src$='.tiff']){box-shadow:0 0.5em 3em -1em rgba(0,0,0,0.2)}.markdown-body .lightbox.open img[src$='svg']{display:block !important;height:66vw !important;max-width:100% !important;min-width:200px !important;width:42vw !important}.markdown-body table{border-collapse:collapse;border-spacing:0;color:var(--table-text);display:table;width:100%}.markdown-body table thead{color:var(--table-head-text, inherit)}.markdown-body table thead tr{background:var(--table-head, #f6f8fa)}.markdown-body table tr{background-color:var(--table-row, #fff)}.markdown-body table tr+tr{border-top:1px solid var(--table-edges, #dfe2e5)}.markdown-body table th,.markdown-body table thead td{font-weight:600}.markdown-body table th:empty,.markdown-body table thead td:empty{padding:0}.markdown-body table td,.markdown-body table th{border:1px solid var(--table-edges, #dfe2e5);color:inherit;padding:6px 13px;vertical-align:middle}.markdown-body table td>:first-child,.markdown-body table td>:only-child,.markdown-body table th>:first-child,.markdown-body table th>:only-child{margin-top:0 !important}.markdown-body table td>:last-child,.markdown-body table td>:only-child,.markdown-body table th>:last-child,.markdown-body table th>:only-child{margin-bottom:0 !important}.markdown-body table:not(.plain) tr:nth-child(2n){background-color:var(--table-stripe, #fbfcfd)}.markdown-body .rdmd-table{display:block;position:relative}.markdown-body .rdmd-table-inner{box-sizing:content-box;min-width:100%;overflow:auto;width:100%}.markdown-body .rdmd-table table{border:1px solid var(--table-edges, #dfe2e5)}.markdown-body .rdmd-table table:only-child{margin:0 !important}.markdown-body .rdmd-table table:only-child thead th{background:inherit}.markdown-body .rdmd-table table:only-child td:last-child,.markdown-body .rdmd-table table:only-child th:last-child{border-right:none}.markdown-body .rdmd-table table:only-child thead tr,.markdown-body .rdmd-table table:only-child thead th:last-child{box-shadow:3px 0 0 var(--table-head)}.toc-list .glossary-tooltip{pointer-events:none}.markdown-body code,.markdown-body kbd,.markdown-body pre{font-family:SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-family:var(--md-code-font, SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace);font-size:1em}.markdown-body code,.markdown-body pre{font-size:12px}.markdown-body pre{margin-bottom:0;margin-top:0;word-wrap:normal}.markdown-body code{background-color:#f6f8fa;background-color:var(--md-code-background, #f6f8fa);border-radius:3px;color:var(--md-code-text);font-size:85%;margin:0;padding:0.2em 0.4em}.markdown-body code>div[class*='cm-']{display:inherit}.markdown-body pre>code{background:0 0;border:0;font-size:100%;margin:0;padding:0;white-space:pre;word-break:normal}.markdown-body pre{background-color:#f6f8fa;background-color:var(--md-code-background, #f6f8fa);color:inherit;color:var(--md-code-text, inherit);border-radius:3px;border-radius:var(--markdown-radius, 3px);border-radius:var(--md-code-radius, var(--markdown-radius, 3px));font-size:85%;line-height:1.45;overflow:auto;padding:1em}.markdown-body pre code.theme-dark{background-color:#242e34;background-color:var(--md-code-background, #242e34)}.markdown-body pre code{background-color:transparent;border:0;display:inline;line-height:inherit;margin:0;max-width:auto;overflow:visible;padding:0;word-wrap:normal}.markdown-body kbd{background-color:#f6f8fa;background-color:var(--d-code-background, #f6f8fa);border:1px solid #d1d5da;border-bottom-color:#c6cbd1;border-radius:3px;box-shadow:inset 0 -1px 0 #c6cbd1;color:#444d56;display:inline-block;font-size:11px;line-height:10px;padding:3px 5px;vertical-align:middle}.markdown-body button.rdmd-code-copy{appearance:unset;background:inherit;background:var(--md-code-background, inherit);border:none;border-radius:3px;box-shadow:inset 0 0 0 1px rgba(170,170,170,0.66),-1px 2px 6px -3px rgba(0,0,0,0.1);color:inherit;color:var(--md-code-text, inherit);cursor:copy;display:none !important;font:inherit;margin:0.5em 0.6em 0 0;outline:none !important;padding:0.25em 0.7em;transition:0.15s ease-out}.markdown-body button.rdmd-code-copy:not(:hover)::before,.markdown-body button.rdmd-code-copy:not(:hover)::after{opacity:0.66}.markdown-body button.rdmd-code-copy:hover:not(:active){box-shadow:inset 0 0 0 1px rgba(139,139,139,0.75),-1px 2px 6px -3px rgba(0,0,0,0.2)}.markdown-body button.rdmd-code-copy:active{box-shadow:inset 0 0 0 1px rgba(139,139,139,0.5),inset 1px 4px 6px -2px rgba(0,0,0,0.175)}.markdown-body button.rdmd-code-copy:active::before,.markdown-body button.rdmd-code-copy:active::after{opacity:0.75}.markdown-body button.rdmd-code-copy::before,.markdown-body button.rdmd-code-copy::after{display:inline-block;font:normal normal normal 1em/1 'Font Awesome 5 Free', FontAwesome;font-family:ReadMe-Icons;font-feature-settings:'liga';font-variant-ligatures:discretionary-ligatures;line-height:2;text-rendering:auto;-webkit-font-smoothing:antialiased}.markdown-body button.rdmd-code-copy::before{content:'\e6c9';font-weight:800;transition:0.3s 0.15s ease}.markdown-body button.rdmd-code-copy::after{content:'\e942' !important;font-weight:900 !important;left:50%;opacity:0 !important;position:absolute;top:50%;transform:translate(-50%, -50%) scale(0.33);transition:0.3s 0s ease}.markdown-body button.rdmd-code-copy_copied{pointer-events:none}.markdown-body button.rdmd-code-copy_copied,.markdown-body button.rdmd-code-copy_copied *{color:green !important;color:var(--md-code-text, green) !important;opacity:1}.markdown-body button.rdmd-code-copy_copied::before{opacity:0 !important;transition:0.3s 0s ease;transform:scale(0.33)}.markdown-body button.rdmd-code-copy_copied::after{opacity:1 !important;transition:0.3s 0.15s ease;transform:translate(-50%, -50%) scale(1)}.markdown-body pre{position:relative}.markdown-body pre>code{background:inherit}.markdown-body pre>code.theme-dark{color:white}.markdown-body pre button.rdmd-code-copy{display:inline-block !important;position:absolute;right:0;top:0}.markdown-body pre{overflow:hidden;padding:0}.markdown-body pre>code{display:block !important;overflow:auto;padding:1em;max-height:90vh}.markdown-body pre:hover button.rdmd-code-copy:not(:hover){transition-delay:0.4s}.markdown-body pre:not(:hover) button.rdmd-code-copy:not(.rdmd-code-copy_copied){opacity:0 !important}.CodeTabs{border-radius:var(--md-code-radius, var(--markdown-radius, 3px)) !important;color:#333;color:var(--md-code-text, #333);overflow:hidden}.CodeTabs.theme-dark{color:white;color:var(--md-code-text, white)}.CodeTabs.theme-dark .CodeTabs-toolbar{background:#373737;background:var(--md-code-tabs, #373737)}.CodeTabs-toolbar{background:#ebedef;background:var(--md-code-tabs, #ebedef);display:flex;flex-flow:row nowrap;overflow:hidden;-webkit-overflow-scrolling:touch;-ms-overflow-style:none;overflow-x:auto}.CodeTabs-toolbar::-webkit-scrollbar{display:none}.CodeTabs-toolbar button{appearance:none;background:transparent;border:none;color:inherit;cursor:pointer;display:inline-block;font:inherit;font-size:0.75em;line-height:2;outline:none;padding:0.5em 1em;transition:0.123s ease;white-space:nowrap}.CodeTabs.CodeTabs_initial .CodeTabs-toolbar button:first-child,.CodeTabs-toolbar button.CodeTabs_active{background:#f6f8fa;background:var(--md-code-background, #f6f8fa);color:black;color:var(--md-code-text, black);pointer-events:none}.CodeTabs.theme-dark.CodeTabs_initial .CodeTabs-toolbar button:first-child,.CodeTabs.theme-dark .CodeTabs-toolbar button.CodeTabs_active{background:#242e34;background:var(--md-code-background, #242e34);color:white;color:var(--md-code-text, white)}.CodeTabs-toolbar button:not(.CodeTabs_active):hover,.CodeTabs-toolbar button:not(.CodeTabs_active):active,.CodeTabs-toolbar button:not(.CodeTabs_active):focus{background:rgba(0,0,0,0.075)}.CodeTabs pre{background:var(--md-code-background, #f6f8fa);border-radius:0 0 var(--md-code-radius, var(--markdown-radius, 3px)) var(--md-code-radius, var(--markdown-radius, 3px)) !important;margin-bottom:0}.CodeTabs pre:not(.CodeTabs_active){display:none}.CodeTabs.theme-dark pre{background:#242e34;background:var(--md-code-background, #242e34)}.CodeTabs.CodeTabs_initial pre:first-child{display:block}.callout{--emoji: 1em;--icon-font: fontawesome;border-top-right-radius:var(--markdown-radius);border-bottom-right-radius:var(--markdown-radius)}.callout.callout{--background: #f8f8f9;--border: #8b939c;background:var(--background);border-color:var(--border);color:var(--text);padding:1.33rem}.callout.callout_info{--background: #e3edf2;--title: #46b8da;--border: #5bc0de}.callout.callout_warn,.callout.callout_warning{--background: #fcf8f2;--title: #eea236;--border: #f0ad4e}.callout.callout_ok,.callout.callout_okay,.callout.callout_success{--background: #f3f8f3;--title: #489e49;--border: #50af51}.callout.callout_err,.callout.callout_error{--background: #fdf7f7;--title: #d43f3a;--border: #d9534f}.callout.callout>*{margin-left:1.33rem;position:relative}.callout.callout ul,.callout.callout ol{padding-left:1.3em}.callout.callout a{color:inherit}.callout.callout hr{border-color:var(--border, var(--markdown-edge, #eee))}.callout.callout blockquote{color:var(--text);border-color:var(--border);border-width:3px;padding:0 0 0 0.8em}.callout.callout .callout-heading{color:var(--title, --text);margin-bottom:calc(1.33rem * 0.5)}.callout.callout .callout-heading:only-child{margin-bottom:0}.callout.callout .callout-heading.empty{float:left;margin-top:calc(1.33rem * 0.5)}.callout.callout .callout-heading.empty .callout-icon{line-height:0}.callout.callout .callout-heading>*{color:inherit;margin:0}.callout.callout .callout-heading::before{position:absolute;right:100%;width:2.4em;text-align:center;font:normal normal normal 1em/1 FontAwesome}.callout.callout .callout-icon{float:left;margin-left:calc(-1.33rem - 0.5em);margin-right:-0.25rem}.callout-icon{font-size:var(--emoji, 0);color:var(--icon-color, inherit) !important}.callout-icon::before{content:var(--icon);font-family:var(--icon-font);font-size:var(--icon-size, 1rem);font-weight:var(--icon-weight, 400);position:absolute;top:50%;transform:translate(-50%, -50%);display:inline-block;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.rdmdCallouts--useIconFont .callout{--emoji: unset}.rdmdCallouts--useIconFont .callout_okay{--icon: '\f164'}.rdmdCallouts--useIconFont .callout_info{--icon: '\f05a'}.rdmdCallouts--useIconFont .callout_warn{--icon: '\f071'}.rdmdCallouts--useIconFont .callout_error{--icon: '\f06a'}.rdmdCallouts--useIconFont .callout_default{--emoji: 1rem}.heading.heading{align-items:center;display:flex;justify-content:flex-start;position:relative}.heading.heading .heading-text{flex:1 100%}.heading.heading .heading-anchor-deprecated{position:absolute;top:0}.heading.heading .heading-anchor{top:-1rem !important}.heading.heading .heading-anchor,.heading.heading .heading-anchor-icon{color:inherit;display:inline !important;font-size:0.8rem !important;margin-right:-0.8rem;order:-1;padding:0.8rem 0.2rem 0.8rem 0 !important;position:absolute !important;right:100%;text-decoration:none;top:unset !important;transform:translateX(-100%);transition:0.2s ease}.heading.heading .heading-anchor:hover,.heading.heading .heading-anchor-icon:hover{opacity:1}.heading.heading:not(:hover) .heading-anchor-icon{opacity:0}.markdown-body .embed{background:transparent;border-radius:3px;border-radius:var(--md-code-radius, var(--markdown-radius, 3px));box-shadow:inset 0 0 0 1px rgba(0,0,0,0.15);color:var(--md-code-text, inherit);padding:15px;transition:0.3s ease}.markdown-body .embed:hover{background:var(--md-code-background, #f6f8fa);box-shadow:inset 0 0 0 1px rgba(0,0,0,0.1)}.markdown-body>.embed_hasImg:nth-of-type(odd){margin-right:30px;padding-right:0}.markdown-body>.embed_hasImg:nth-of-type(odd) .embed-link{flex-direction:row-reverse}.markdown-body>.embed_hasImg:nth-of-type(odd) .embed-img{box-shadow:-0.3em 0.3em 0.9em -0.3em rgba(0,0,0,0.15);margin-left:0.88em;margin-right:-30px}.markdown-body>.embed_hasImg:nth-of-type(even){margin-left:30px;padding-left:0}.markdown-body>.embed_hasImg:nth-of-type(even) .embed-img{margin-left:-30px}.markdown-body .embed:empty{display:none}.markdown-body .embed-media{display:flex;justify-content:center}.markdown-body .embed-media>:only-child{border-radius:0 !important;flex:1;margin:-15px}.markdown-body .embed-link{align-items:center;color:var(--markdown-text, #333);display:flex;text-decoration:none !important}.markdown-body .embed-body{flex:1;line-height:1.3}.markdown-body .embed-body,.markdown-body .embed-body .embed-title{font-size:1.15em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.markdown-body .embed-body .embed-provider{display:block;opacity:0.88;text-decoration-color:transparent !important}.markdown-body .embed-body-url{opacity:0.75}.markdown-body .embed-provider{font-size:0.8em;line-height:1.6;transition:0.2 ease}.markdown-body .embed-provider code{opacity:0.8}.markdown-body .embed-provider code:only-child{background:transparent;display:block;font-size:inherit !important;margin:0;overflow:hidden;padding:0;text-overflow:ellipsis;white-space:nowrap;width:100%}.markdown-body .embed-img{background:white;border:1px solid rgba(0,0,0,0.15);border-radius:3px;box-shadow:0.3em 0.3em 0.9em -0.3em rgba(0,0,0,0.15);margin:0 0.88em 0 0;max-width:5em;padding:4px;transition:inherit;width:5em}.markdown-body .embed:not(:hover) .embed-img{box-shadow:0 0.25em 1em -0.5em rgba(0,0,0,0.133)}.markdown-body .embed:hover .embed-img{border:1px solid rgba(0,0,0,0.2)}.markdown-body .embed-favicon{height:12px !important;margin-bottom:12px;margin-right:6px;margin-top:4px;width:12px !important}.GlossaryItem-trigger{border-bottom:1px dotted #737c83;border-left:none;border-right:none;border-top:none;cursor:pointer}.GlossaryItem-tooltip-content{--GlossaryItem-bg: var(--color-bg-page, var(--white));--GlossaryItem-color: var(--color-text-default, var(--gray20));--GlossaryItem-shadow: var(
|
|
390
|
+
.markdown-body img[align='right'],.markdown-body img[alt~='align-right']{float:right;margin-left:0.75rem}.markdown-body img[align='left'],.markdown-body img[alt~='align-left']{float:left;margin-right:0.75rem}.markdown-body img[width='80%'],.markdown-body img[align='center'],.markdown-body img[alt~='align-center'],.markdown-body>img,.markdown-body figure>img{display:block}.markdown-body img{border-style:none;box-sizing:content-box;display:inline-block;margin-left:auto;margin-right:auto;max-width:100%;outline:none !important;vertical-align:middle}.markdown-body img[width='smart']{max-height:450px;max-width:100%;width:auto}.markdown-body img.border{border:1px solid rgba(0,0,0,0.2)}.markdown-body figure{margin:15px auto}.markdown-body figure figcaption{font-size:0.93em;font-style:italic;margin-top:8px;text-align:center}.markdown-body figure .img{display:block}.markdown-body .lightbox.open{align-items:center;background:rgba(255,255,255,0.966);display:flex;flex-flow:nowrap column;height:100vh;justify-content:flex-start;left:0;margin-bottom:0;margin-top:0;overflow:hidden;overflow-y:scroll;position:fixed;top:0;user-select:none;width:100vw;z-index:9999999}.markdown-body .lightbox.open::after{content:'\f00d';cursor:pointer;display:inline-block;font:normal normal normal 2em/1 FontAwesome;font-size:inherit;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;opacity:1;position:fixed;right:1em;text-rendering:auto;top:1em;transform:translate(0, 0);transform:scale(1.5);transition:0.3s 0.3s ease-in}.markdown-body .lightbox.open:not(.open)::after{opacity:0;transform:scale(0)}.markdown-body .lightbox.open .lightbox-inner{align-items:center;box-sizing:content-box;display:inline-flex;justify-content:center;margin:auto;min-height:calc(100vh + 8px);padding:0;position:relative}.markdown-body .lightbox.open img{height:auto !important;max-height:97.5vh !important;max-width:97.5vw !important;min-width:unset !important;width:auto !important}.markdown-body .lightbox.open img.border,.markdown-body .lightbox.open img:not([src$='.png']):not([src$='.svg']):not([src$='.jp2']):not([src$='.tiff']){box-shadow:0 0.5em 3em -1em rgba(0,0,0,0.2)}.markdown-body .lightbox.open img[src$='svg']{display:block !important;height:66vw !important;max-width:100% !important;min-width:200px !important;width:42vw !important}.markdown-body table{border-collapse:collapse;border-spacing:0;color:var(--table-text);display:table;width:100%}.markdown-body table thead{color:var(--table-head-text, inherit)}.markdown-body table thead tr{background:var(--table-head, #f6f8fa)}.markdown-body table tr{background-color:var(--table-row, #fff)}.markdown-body table tr+tr{border-top:1px solid var(--table-edges, #dfe2e5)}.markdown-body table th,.markdown-body table thead td{font-weight:600}.markdown-body table th:empty,.markdown-body table thead td:empty{padding:0}.markdown-body table td,.markdown-body table th{border:1px solid var(--table-edges, #dfe2e5);color:inherit;padding:6px 13px;vertical-align:middle}.markdown-body table td>:first-child,.markdown-body table td>:only-child,.markdown-body table th>:first-child,.markdown-body table th>:only-child{margin-top:0 !important}.markdown-body table td>:last-child,.markdown-body table td>:only-child,.markdown-body table th>:last-child,.markdown-body table th>:only-child{margin-bottom:0 !important}.markdown-body table:not(.plain) tr:nth-child(2n){background-color:var(--table-stripe, #fbfcfd)}.markdown-body .rdmd-table{display:block;position:relative}.markdown-body .rdmd-table-inner{box-sizing:content-box;min-width:100%;overflow:auto;width:100%}.markdown-body .rdmd-table table{border:1px solid var(--table-edges, #dfe2e5)}.markdown-body .rdmd-table table:only-child{margin:0 !important}.markdown-body .rdmd-table table:only-child thead th{background:inherit}.markdown-body .rdmd-table table:only-child td:last-child,.markdown-body .rdmd-table table:only-child th:last-child{border-right:none}.markdown-body .rdmd-table table:only-child thead tr,.markdown-body .rdmd-table table:only-child thead th:last-child{box-shadow:3px 0 0 var(--table-head)}.toc-list .glossary-tooltip{pointer-events:none}.markdown-body code,.markdown-body kbd,.markdown-body pre{font-family:SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-family:var(--md-code-font, SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace);font-size:1em}.markdown-body code,.markdown-body pre{font-size:12px}.markdown-body pre{margin-bottom:0;margin-top:0;word-wrap:normal}.markdown-body code{background-color:#f6f8fa;background-color:var(--md-code-background, #f6f8fa);border-radius:3px;color:var(--md-code-text);font-size:85%;margin:0;padding:0.2em 0.4em}.markdown-body code>div[class*='cm-']{display:inherit}.markdown-body pre>code{background:0 0;border:0;font-size:100%;margin:0;padding:0;white-space:pre;word-break:normal}.markdown-body pre{background-color:#f6f8fa;background-color:var(--md-code-background, #f6f8fa);color:inherit;color:var(--md-code-text, inherit);border-radius:3px;border-radius:var(--markdown-radius, 3px);border-radius:var(--md-code-radius, var(--markdown-radius, 3px));font-size:85%;line-height:1.45;overflow:auto;padding:1em}.markdown-body pre code.theme-dark{background-color:#242e34;background-color:var(--md-code-background, #242e34)}.markdown-body pre code{background-color:transparent;border:0;display:inline;line-height:inherit;margin:0;max-width:auto;overflow:visible;padding:0;word-wrap:normal}.markdown-body kbd{background-color:#f6f8fa;background-color:var(--d-code-background, #f6f8fa);border:1px solid #d1d5da;border-bottom-color:#c6cbd1;border-radius:3px;box-shadow:inset 0 -1px 0 #c6cbd1;color:#444d56;display:inline-block;font-size:11px;line-height:10px;padding:3px 5px;vertical-align:middle}.markdown-body button.rdmd-code-copy{appearance:unset;background:inherit;background:var(--md-code-background, inherit);border:none;border-radius:3px;box-shadow:inset 0 0 0 1px rgba(170,170,170,0.66),-1px 2px 6px -3px rgba(0,0,0,0.1);color:inherit;color:var(--md-code-text, inherit);cursor:copy;display:none !important;font:inherit;margin:0.5em 0.6em 0 0;outline:none !important;padding:0.25em 0.7em;transition:0.15s ease-out}.markdown-body button.rdmd-code-copy:not(:hover)::before,.markdown-body button.rdmd-code-copy:not(:hover)::after{opacity:0.66}.markdown-body button.rdmd-code-copy:hover:not(:active){box-shadow:inset 0 0 0 1px rgba(139,139,139,0.75),-1px 2px 6px -3px rgba(0,0,0,0.2)}.markdown-body button.rdmd-code-copy:active{box-shadow:inset 0 0 0 1px rgba(139,139,139,0.5),inset 1px 4px 6px -2px rgba(0,0,0,0.175)}.markdown-body button.rdmd-code-copy:active::before,.markdown-body button.rdmd-code-copy:active::after{opacity:0.75}.markdown-body button.rdmd-code-copy::before,.markdown-body button.rdmd-code-copy::after{display:inline-block;font:normal normal normal 1em/1 'Font Awesome 5 Free', FontAwesome;font-family:ReadMe-Icons;font-feature-settings:'liga';font-variant-ligatures:discretionary-ligatures;line-height:2;text-rendering:auto;-webkit-font-smoothing:antialiased}.markdown-body button.rdmd-code-copy::before{content:'\e6c9';font-weight:800;transition:0.3s 0.15s ease}.markdown-body button.rdmd-code-copy::after{content:'\e942' !important;font-weight:900 !important;left:50%;opacity:0 !important;position:absolute;top:50%;transform:translate(-50%, -50%) scale(0.33);transition:0.3s 0s ease}.markdown-body button.rdmd-code-copy_copied{pointer-events:none}.markdown-body button.rdmd-code-copy_copied,.markdown-body button.rdmd-code-copy_copied *{color:green !important;color:var(--md-code-text, green) !important;opacity:1}.markdown-body button.rdmd-code-copy_copied::before{opacity:0 !important;transition:0.3s 0s ease;transform:scale(0.33)}.markdown-body button.rdmd-code-copy_copied::after{opacity:1 !important;transition:0.3s 0.15s ease;transform:translate(-50%, -50%) scale(1)}.markdown-body pre{position:relative}.markdown-body pre>code{background:inherit}.markdown-body pre>code.theme-dark{color:white}.markdown-body pre button.rdmd-code-copy{display:inline-block !important;position:absolute;right:0;top:0}.markdown-body pre{overflow:hidden;padding:0}.markdown-body pre>code{display:block !important;overflow:auto;padding:1em;max-height:90vh}.markdown-body pre:hover button.rdmd-code-copy:not(:hover){transition-delay:0.4s}.markdown-body pre:not(:hover) button.rdmd-code-copy:not(.rdmd-code-copy_copied){opacity:0 !important}.CodeTabs{border-radius:var(--md-code-radius, var(--markdown-radius, 3px)) !important;color:#333;color:var(--md-code-text, #333);overflow:hidden}.CodeTabs.theme-dark{color:white;color:var(--md-code-text, white)}.CodeTabs.theme-dark .CodeTabs-toolbar{background:#373737;background:var(--md-code-tabs, #373737)}.CodeTabs-toolbar{background:#ebedef;background:var(--md-code-tabs, #ebedef);display:flex;flex-flow:row nowrap;overflow:hidden;-webkit-overflow-scrolling:touch;-ms-overflow-style:none;overflow-x:auto}.CodeTabs-toolbar::-webkit-scrollbar{display:none}.CodeTabs-toolbar button{appearance:none;background:transparent;border:none;color:inherit;cursor:pointer;display:inline-block;font:inherit;font-size:0.75em;line-height:2;outline:none;padding:0.5em 1em;transition:0.123s ease;white-space:nowrap}.CodeTabs.CodeTabs_initial .CodeTabs-toolbar button:first-child,.CodeTabs-toolbar button.CodeTabs_active{background:#f6f8fa;background:var(--md-code-background, #f6f8fa);color:black;color:var(--md-code-text, black);pointer-events:none}.CodeTabs.theme-dark.CodeTabs_initial .CodeTabs-toolbar button:first-child,.CodeTabs.theme-dark .CodeTabs-toolbar button.CodeTabs_active{background:#242e34;background:var(--md-code-background, #242e34);color:white;color:var(--md-code-text, white)}.CodeTabs-toolbar button:not(.CodeTabs_active):hover,.CodeTabs-toolbar button:not(.CodeTabs_active):active,.CodeTabs-toolbar button:not(.CodeTabs_active):focus{background:rgba(0,0,0,0.075)}.CodeTabs pre{background:var(--md-code-background, #f6f8fa);border-radius:0 0 var(--md-code-radius, var(--markdown-radius, 3px)) var(--md-code-radius, var(--markdown-radius, 3px)) !important;margin-bottom:0}.CodeTabs pre:not(.CodeTabs_active){display:none}.CodeTabs.theme-dark pre{background:#242e34;background:var(--md-code-background, #242e34)}.CodeTabs.CodeTabs_initial pre:first-child{display:block}.callout{--emoji: 1em;--icon-font: fontawesome;border-top-right-radius:var(--markdown-radius);border-bottom-right-radius:var(--markdown-radius)}.callout.callout{--background: #f8f8f9;--border: #8b939c;background:var(--background);border-color:var(--border);color:var(--text);padding:1.33rem}.callout.callout_info{--background: #e3edf2;--title: #46b8da;--border: #5bc0de}.callout.callout_warn,.callout.callout_warning{--background: #fcf8f2;--title: #eea236;--border: #f0ad4e}.callout.callout_ok,.callout.callout_okay,.callout.callout_success{--background: #f3f8f3;--title: #489e49;--border: #50af51}.callout.callout_err,.callout.callout_error{--background: #fdf7f7;--title: #d43f3a;--border: #d9534f}.callout.callout>*{margin-left:1.33rem;position:relative}.callout.callout ul,.callout.callout ol{padding-left:1.3em}.callout.callout a{color:inherit}.callout.callout hr{border-color:var(--border, var(--markdown-edge, #eee))}.callout.callout blockquote{color:var(--text);border-color:var(--border);border-width:3px;padding:0 0 0 0.8em}.callout.callout .callout-heading{color:var(--title, --text);font-size:1.25em;font-family:var(--markdown-title-font);font-weight:var(--markdown-title-weight, 600);line-height:1.25;margin-bottom:calc(1.33rem * 0.5)}.callout.callout .callout-heading:only-child{margin-bottom:0}.callout.callout .callout-heading.empty{float:left;margin-top:calc(1.33rem * 0.5)}.callout.callout .callout-heading.empty .callout-icon{line-height:0}.callout.callout .callout-heading>*{color:inherit;margin:0}.callout.callout .callout-heading::before{position:absolute;right:100%;width:2.4em;text-align:center;font:normal normal normal 1em/1 FontAwesome}.callout.callout .callout-icon{float:left;margin-left:calc(-1.33rem - 0.5em);margin-right:-0.25rem}.callout-icon{font-size:var(--emoji, 0);color:var(--icon-color, inherit) !important}.callout-icon::before{content:var(--icon);font-family:var(--icon-font);font-size:var(--icon-size, 1rem);font-weight:var(--icon-weight, 400);position:absolute;top:50%;transform:translate(-50%, -50%);display:inline-block;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.rdmdCallouts--useIconFont .callout{--emoji: unset}.rdmdCallouts--useIconFont .callout_okay{--icon: '\f164'}.rdmdCallouts--useIconFont .callout_info{--icon: '\f05a'}.rdmdCallouts--useIconFont .callout_warn{--icon: '\f071'}.rdmdCallouts--useIconFont .callout_error{--icon: '\f06a'}.rdmdCallouts--useIconFont .callout_default{--emoji: 1rem}.heading.heading{align-items:center;display:flex;justify-content:flex-start;position:relative}.heading.heading .heading-text{flex:1 100%}.heading.heading .heading-anchor-deprecated{position:absolute;top:0}.heading.heading .heading-anchor{top:-1rem !important}.heading.heading .heading-anchor,.heading.heading .heading-anchor-icon{color:inherit;display:inline !important;font-size:0.8rem !important;margin-right:-0.8rem;order:-1;padding:0.8rem 0.2rem 0.8rem 0 !important;position:absolute !important;right:100%;text-decoration:none;top:unset !important;transform:translateX(-100%);transition:0.2s ease}.heading.heading .heading-anchor:hover,.heading.heading .heading-anchor-icon:hover{opacity:1}.heading.heading:not(:hover) .heading-anchor-icon{opacity:0}.markdown-body .embed{background:transparent;border-radius:3px;border-radius:var(--md-code-radius, var(--markdown-radius, 3px));box-shadow:inset 0 0 0 1px rgba(0,0,0,0.15);color:var(--md-code-text, inherit);padding:15px;transition:0.3s ease}.markdown-body .embed:hover{background:var(--md-code-background, #f6f8fa);box-shadow:inset 0 0 0 1px rgba(0,0,0,0.1)}.markdown-body>.embed_hasImg:nth-of-type(odd){margin-right:30px;padding-right:0}.markdown-body>.embed_hasImg:nth-of-type(odd) .embed-link{flex-direction:row-reverse}.markdown-body>.embed_hasImg:nth-of-type(odd) .embed-img{box-shadow:-0.3em 0.3em 0.9em -0.3em rgba(0,0,0,0.15);margin-left:0.88em;margin-right:-30px}.markdown-body>.embed_hasImg:nth-of-type(even){margin-left:30px;padding-left:0}.markdown-body>.embed_hasImg:nth-of-type(even) .embed-img{margin-left:-30px}.markdown-body .embed:empty{display:none}.markdown-body .embed-media{display:flex;justify-content:center}.markdown-body .embed-media>:only-child{border-radius:0 !important;flex:1;margin:-15px}.markdown-body .embed-link{align-items:center;color:var(--markdown-text, #333);display:flex;text-decoration:none !important}.markdown-body .embed-body{flex:1;line-height:1.3}.markdown-body .embed-body,.markdown-body .embed-body .embed-title{font-size:1.15em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.markdown-body .embed-body .embed-provider{display:block;opacity:0.88;text-decoration-color:transparent !important}.markdown-body .embed-body-url{opacity:0.75}.markdown-body .embed-provider{font-size:0.8em;line-height:1.6;transition:0.2 ease}.markdown-body .embed-provider code{opacity:0.8}.markdown-body .embed-provider code:only-child{background:transparent;display:block;font-size:inherit !important;margin:0;overflow:hidden;padding:0;text-overflow:ellipsis;white-space:nowrap;width:100%}.markdown-body .embed-img{background:white;border:1px solid rgba(0,0,0,0.15);border-radius:3px;box-shadow:0.3em 0.3em 0.9em -0.3em rgba(0,0,0,0.15);margin:0 0.88em 0 0;max-width:5em;padding:4px;transition:inherit;width:5em}.markdown-body .embed:not(:hover) .embed-img{box-shadow:0 0.25em 1em -0.5em rgba(0,0,0,0.133)}.markdown-body .embed:hover .embed-img{border:1px solid rgba(0,0,0,0.2)}.markdown-body .embed-favicon{height:12px !important;margin-bottom:12px;margin-right:6px;margin-top:4px;width:12px !important}.GlossaryItem-trigger{border-bottom:1px dotted #737c83;border-left:none;border-right:none;border-top:none;cursor:pointer}.GlossaryItem-tooltip-content{--GlossaryItem-bg: var(--color-bg-page, var(--white));--GlossaryItem-color: var(--color-text-default, var(--gray20));--GlossaryItem-shadow: var(
|
|
391
391
|
--box-shadow-menu-light,
|
|
392
392
|
0 5px 10px rgba(0, 0, 0, 0.05),
|
|
393
393
|
0 2px 6px rgba(0, 0, 0, 0.025),
|
package/dist/main.js
CHANGED
|
@@ -7510,7 +7510,7 @@ var Callout = function Callout(props) {
|
|
|
7510
7510
|
React.createElement("blockquote", _extends({}, attributes, {
|
|
7511
7511
|
className: "callout callout_".concat(theme),
|
|
7512
7512
|
theme: icon
|
|
7513
|
-
}), /*#__PURE__*/React.createElement("
|
|
7513
|
+
}), /*#__PURE__*/React.createElement("h2", {
|
|
7514
7514
|
className: "callout-heading".concat(title ? '' : ' empty')
|
|
7515
7515
|
}, /*#__PURE__*/React.createElement("span", {
|
|
7516
7516
|
className: "callout-icon"
|
|
@@ -10095,44 +10095,28 @@ module.exports = function () {
|
|
|
10095
10095
|
/***/ 4625:
|
|
10096
10096
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
10097
10097
|
|
|
10098
|
-
var
|
|
10099
|
-
|
|
10100
|
-
|
|
10101
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
10102
|
-
var flatMap = __webpack_require__(5885);
|
|
10098
|
+
var _require = __webpack_require__(6393),
|
|
10099
|
+
SKIP = _require.SKIP,
|
|
10100
|
+
visit = _require.visit;
|
|
10103
10101
|
var collectValues = function collectValues(_ref) {
|
|
10104
10102
|
var value = _ref.value,
|
|
10105
10103
|
children = _ref.children;
|
|
10106
10104
|
if (value) return value;
|
|
10107
|
-
if (children) return children.flatMap(collectValues);
|
|
10105
|
+
if (children) return children.flatMap(collectValues).join(' ');
|
|
10108
10106
|
return '';
|
|
10109
10107
|
};
|
|
10110
|
-
var valuesToString = function valuesToString(node) {
|
|
10111
|
-
var values = collectValues(node);
|
|
10112
|
-
return Array.isArray(values) ? values.join(' ') : values;
|
|
10113
|
-
};
|
|
10114
10108
|
|
|
10115
10109
|
// Flattens table values and adds them as a seperate, easily-accessible key within children
|
|
10116
10110
|
function transformer(ast) {
|
|
10117
|
-
|
|
10118
|
-
|
|
10119
|
-
|
|
10120
|
-
|
|
10121
|
-
|
|
10122
|
-
|
|
10123
|
-
|
|
10124
|
-
return [_objectSpread(_objectSpread({}, node), {}, {
|
|
10125
|
-
children: [_objectSpread(_objectSpread({}, node.children[0]), {}, {
|
|
10126
|
-
value: valuesToString(header)
|
|
10127
|
-
}), body ? _objectSpread(_objectSpread({}, node.children[1]), {}, {
|
|
10128
|
-
value: valuesToString(body)
|
|
10129
|
-
}) : null].filter(function (x) {
|
|
10130
|
-
return x;
|
|
10131
|
-
})
|
|
10132
|
-
})];
|
|
10133
|
-
}
|
|
10134
|
-
return [node];
|
|
10111
|
+
visit(ast, {
|
|
10112
|
+
tagName: 'table'
|
|
10113
|
+
}, function (node) {
|
|
10114
|
+
node.children.forEach(function (child) {
|
|
10115
|
+
child.value = collectValues(child).trimStart().trimEnd().replaceAll(/\s+/g, ' ');
|
|
10116
|
+
});
|
|
10117
|
+
return SKIP;
|
|
10135
10118
|
});
|
|
10119
|
+
return ast;
|
|
10136
10120
|
}
|
|
10137
10121
|
module.exports = function () {
|
|
10138
10122
|
return transformer;
|
|
@@ -10162,7 +10146,7 @@ var unist_util_visit = __webpack_require__(6393);
|
|
|
10162
10146
|
|
|
10163
10147
|
var singleCodeTabs = function singleCodeTabs() {
|
|
10164
10148
|
return function (tree) {
|
|
10165
|
-
(0,unist_util_visit
|
|
10149
|
+
(0,unist_util_visit.visit)(tree, function (node, index, parent) {
|
|
10166
10150
|
if (node.type === 'code' && (node.lang || node.meta) && parent.type !== 'code-tabs') {
|
|
10167
10151
|
Object.assign(node, {
|
|
10168
10152
|
className: 'tab-panel',
|
|
@@ -10206,12 +10190,12 @@ var rxEscapedPipe = /\\\|/g;
|
|
|
10206
10190
|
*/
|
|
10207
10191
|
var tableCellInlineCode = function tableCellInlineCode() {
|
|
10208
10192
|
return function (tree) {
|
|
10209
|
-
(0,unist_util_visit
|
|
10193
|
+
(0,unist_util_visit.visit)(tree, [{
|
|
10210
10194
|
tagName: 'th'
|
|
10211
10195
|
}, {
|
|
10212
10196
|
tagName: 'td'
|
|
10213
10197
|
}], function (tableCellNode) {
|
|
10214
|
-
(0,unist_util_visit
|
|
10198
|
+
(0,unist_util_visit.visit)(tableCellNode, {
|
|
10215
10199
|
tagName: 'code'
|
|
10216
10200
|
}, function (inlineCodeNode) {
|
|
10217
10201
|
var textNode = inlineCodeNode.children[0];
|
|
@@ -10292,7 +10276,7 @@ var reusableContentTransformer = function reusableContentTransformer() {
|
|
|
10292
10276
|
return undefined;
|
|
10293
10277
|
};
|
|
10294
10278
|
return function (tree) {
|
|
10295
|
-
(0,unist_util_visit
|
|
10279
|
+
(0,unist_util_visit.visit)(tree, 'html', function (node, index, parent) {
|
|
10296
10280
|
var result = regexp.exec(node.value);
|
|
10297
10281
|
if (!result || !result.groups.tag) return;
|
|
10298
10282
|
var tag = result.groups.tag;
|
|
@@ -34003,8 +33987,12 @@ function selectAll(selector, node) {
|
|
|
34003
33987
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
34004
33988
|
|
|
34005
33989
|
"use strict";
|
|
33990
|
+
__webpack_require__.r(__webpack_exports__);
|
|
34006
33991
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
34007
|
-
/* harmony export */ "
|
|
33992
|
+
/* harmony export */ "CONTINUE": () => (/* reexport safe */ unist_util_visit_parents__WEBPACK_IMPORTED_MODULE_0__.dR),
|
|
33993
|
+
/* harmony export */ "EXIT": () => (/* reexport safe */ unist_util_visit_parents__WEBPACK_IMPORTED_MODULE_0__.BK),
|
|
33994
|
+
/* harmony export */ "SKIP": () => (/* reexport safe */ unist_util_visit_parents__WEBPACK_IMPORTED_MODULE_0__.AM),
|
|
33995
|
+
/* harmony export */ "visit": () => (/* binding */ visit)
|
|
34008
33996
|
/* harmony export */ });
|
|
34009
33997
|
/* harmony import */ var unist_util_visit_parents__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5605);
|
|
34010
33998
|
/**
|
|
@@ -34079,12 +34067,12 @@ const visit =
|
|
|
34079
34067
|
|
|
34080
34068
|
// EXPORTS
|
|
34081
34069
|
__webpack_require__.d(__webpack_exports__, {
|
|
34070
|
+
"dR": () => (/* binding */ CONTINUE),
|
|
34071
|
+
"BK": () => (/* binding */ EXIT),
|
|
34082
34072
|
"AM": () => (/* binding */ SKIP),
|
|
34083
34073
|
"S4": () => (/* binding */ visitParents)
|
|
34084
34074
|
});
|
|
34085
34075
|
|
|
34086
|
-
// UNUSED EXPORTS: CONTINUE, EXIT
|
|
34087
|
-
|
|
34088
34076
|
;// CONCATENATED MODULE: ./node_modules/unist-util-visit/node_modules/unist-util-is/index.js
|
|
34089
34077
|
/**
|
|
34090
34078
|
* @typedef {import('unist').Node} Node
|
package/dist/main.node.js
CHANGED
|
@@ -7510,7 +7510,7 @@ var Callout = function Callout(props) {
|
|
|
7510
7510
|
React.createElement("blockquote", _extends({}, attributes, {
|
|
7511
7511
|
className: "callout callout_".concat(theme),
|
|
7512
7512
|
theme: icon
|
|
7513
|
-
}), /*#__PURE__*/React.createElement("
|
|
7513
|
+
}), /*#__PURE__*/React.createElement("h2", {
|
|
7514
7514
|
className: "callout-heading".concat(title ? '' : ' empty')
|
|
7515
7515
|
}, /*#__PURE__*/React.createElement("span", {
|
|
7516
7516
|
className: "callout-icon"
|
|
@@ -10471,44 +10471,28 @@ module.exports = function () {
|
|
|
10471
10471
|
/***/ 4625:
|
|
10472
10472
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
10473
10473
|
|
|
10474
|
-
var
|
|
10475
|
-
|
|
10476
|
-
|
|
10477
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
10478
|
-
var flatMap = __webpack_require__(5885);
|
|
10474
|
+
var _require = __webpack_require__(6393),
|
|
10475
|
+
SKIP = _require.SKIP,
|
|
10476
|
+
visit = _require.visit;
|
|
10479
10477
|
var collectValues = function collectValues(_ref) {
|
|
10480
10478
|
var value = _ref.value,
|
|
10481
10479
|
children = _ref.children;
|
|
10482
10480
|
if (value) return value;
|
|
10483
|
-
if (children) return children.flatMap(collectValues);
|
|
10481
|
+
if (children) return children.flatMap(collectValues).join(' ');
|
|
10484
10482
|
return '';
|
|
10485
10483
|
};
|
|
10486
|
-
var valuesToString = function valuesToString(node) {
|
|
10487
|
-
var values = collectValues(node);
|
|
10488
|
-
return Array.isArray(values) ? values.join(' ') : values;
|
|
10489
|
-
};
|
|
10490
10484
|
|
|
10491
10485
|
// Flattens table values and adds them as a seperate, easily-accessible key within children
|
|
10492
10486
|
function transformer(ast) {
|
|
10493
|
-
|
|
10494
|
-
|
|
10495
|
-
|
|
10496
|
-
|
|
10497
|
-
|
|
10498
|
-
|
|
10499
|
-
|
|
10500
|
-
return [_objectSpread(_objectSpread({}, node), {}, {
|
|
10501
|
-
children: [_objectSpread(_objectSpread({}, node.children[0]), {}, {
|
|
10502
|
-
value: valuesToString(header)
|
|
10503
|
-
}), body ? _objectSpread(_objectSpread({}, node.children[1]), {}, {
|
|
10504
|
-
value: valuesToString(body)
|
|
10505
|
-
}) : null].filter(function (x) {
|
|
10506
|
-
return x;
|
|
10507
|
-
})
|
|
10508
|
-
})];
|
|
10509
|
-
}
|
|
10510
|
-
return [node];
|
|
10487
|
+
visit(ast, {
|
|
10488
|
+
tagName: 'table'
|
|
10489
|
+
}, function (node) {
|
|
10490
|
+
node.children.forEach(function (child) {
|
|
10491
|
+
child.value = collectValues(child).trimStart().trimEnd().replaceAll(/\s+/g, ' ');
|
|
10492
|
+
});
|
|
10493
|
+
return SKIP;
|
|
10511
10494
|
});
|
|
10495
|
+
return ast;
|
|
10512
10496
|
}
|
|
10513
10497
|
module.exports = function () {
|
|
10514
10498
|
return transformer;
|
|
@@ -10538,7 +10522,7 @@ var unist_util_visit = __webpack_require__(6393);
|
|
|
10538
10522
|
|
|
10539
10523
|
var singleCodeTabs = function singleCodeTabs() {
|
|
10540
10524
|
return function (tree) {
|
|
10541
|
-
(0,unist_util_visit
|
|
10525
|
+
(0,unist_util_visit.visit)(tree, function (node, index, parent) {
|
|
10542
10526
|
if (node.type === 'code' && (node.lang || node.meta) && parent.type !== 'code-tabs') {
|
|
10543
10527
|
Object.assign(node, {
|
|
10544
10528
|
className: 'tab-panel',
|
|
@@ -10582,12 +10566,12 @@ var rxEscapedPipe = /\\\|/g;
|
|
|
10582
10566
|
*/
|
|
10583
10567
|
var tableCellInlineCode = function tableCellInlineCode() {
|
|
10584
10568
|
return function (tree) {
|
|
10585
|
-
(0,unist_util_visit
|
|
10569
|
+
(0,unist_util_visit.visit)(tree, [{
|
|
10586
10570
|
tagName: 'th'
|
|
10587
10571
|
}, {
|
|
10588
10572
|
tagName: 'td'
|
|
10589
10573
|
}], function (tableCellNode) {
|
|
10590
|
-
(0,unist_util_visit
|
|
10574
|
+
(0,unist_util_visit.visit)(tableCellNode, {
|
|
10591
10575
|
tagName: 'code'
|
|
10592
10576
|
}, function (inlineCodeNode) {
|
|
10593
10577
|
var textNode = inlineCodeNode.children[0];
|
|
@@ -10641,7 +10625,7 @@ var reusableContentTransformer = function reusableContentTransformer() {
|
|
|
10641
10625
|
return undefined;
|
|
10642
10626
|
};
|
|
10643
10627
|
return function (tree) {
|
|
10644
|
-
(0,unist_util_visit__WEBPACK_IMPORTED_MODULE_3__
|
|
10628
|
+
(0,unist_util_visit__WEBPACK_IMPORTED_MODULE_3__.visit)(tree, 'html', function (node, index, parent) {
|
|
10645
10629
|
var result = regexp.exec(node.value);
|
|
10646
10630
|
if (!result || !result.groups.tag) return;
|
|
10647
10631
|
var tag = result.groups.tag;
|
|
@@ -33745,8 +33729,12 @@ function selectAll(selector, node) {
|
|
|
33745
33729
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
33746
33730
|
|
|
33747
33731
|
"use strict";
|
|
33732
|
+
__webpack_require__.r(__webpack_exports__);
|
|
33748
33733
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
33749
|
-
/* harmony export */ "
|
|
33734
|
+
/* harmony export */ "CONTINUE": () => (/* reexport safe */ unist_util_visit_parents__WEBPACK_IMPORTED_MODULE_0__.dR),
|
|
33735
|
+
/* harmony export */ "EXIT": () => (/* reexport safe */ unist_util_visit_parents__WEBPACK_IMPORTED_MODULE_0__.BK),
|
|
33736
|
+
/* harmony export */ "SKIP": () => (/* reexport safe */ unist_util_visit_parents__WEBPACK_IMPORTED_MODULE_0__.AM),
|
|
33737
|
+
/* harmony export */ "visit": () => (/* binding */ visit)
|
|
33750
33738
|
/* harmony export */ });
|
|
33751
33739
|
/* harmony import */ var unist_util_visit_parents__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9445);
|
|
33752
33740
|
/**
|
|
@@ -33821,12 +33809,12 @@ const visit =
|
|
|
33821
33809
|
|
|
33822
33810
|
// EXPORTS
|
|
33823
33811
|
__webpack_require__.d(__webpack_exports__, {
|
|
33812
|
+
"dR": () => (/* binding */ CONTINUE),
|
|
33813
|
+
"BK": () => (/* binding */ EXIT),
|
|
33824
33814
|
"AM": () => (/* binding */ SKIP),
|
|
33825
33815
|
"S4": () => (/* binding */ visitParents)
|
|
33826
33816
|
});
|
|
33827
33817
|
|
|
33828
|
-
// UNUSED EXPORTS: CONTINUE, EXIT
|
|
33829
|
-
|
|
33830
33818
|
;// CONCATENATED MODULE: ./node_modules/unist-util-visit/node_modules/unist-util-is/index.js
|
|
33831
33819
|
/**
|
|
33832
33820
|
* @typedef {import('unist').Node} Node
|
package/package.json
CHANGED