@readme/markdown 15.5.0 → 15.5.2
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/lib/constants.d.ts +2 -0
- package/dist/lib/utils/mdxish/mdxish-expression.d.ts +1 -1
- package/dist/main.js +338 -180
- package/dist/main.node.js +338 -180
- package/dist/main.node.js.map +1 -1
- package/dist/processor/transform/mdxish/repair-mistaken-table-closers.d.ts +1 -1
- package/dist/processor/transform/mdxish/variables-text.d.ts +11 -0
- package/dist/render-fixture.node.js +338 -180
- package/dist/render-fixture.node.js.map +1 -1
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Customer docs (CX-3850) close tables with a second bare opener; without this,
|
|
5
5
|
* the never-terminated HTML flow block swallows the markdown that follows.
|
|
6
6
|
*
|
|
7
|
-
* A candidate is a bare opener
|
|
7
|
+
* A candidate is a bare opener that finishes its line while a table is already open.
|
|
8
8
|
* It is judged a typo only when its element ends implicitly (no explicit
|
|
9
9
|
* `</table>`) without ever acquiring table-structure children — so genuine
|
|
10
10
|
* nested tables, whatever precedes their rows, are left alone.
|
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
import type { Node } from 'mdast';
|
|
1
2
|
import type { Plugin } from 'unified';
|
|
3
|
+
/**
|
|
4
|
+
* The lone `{user.<field>}` reference an expression node holds, or `null` when the node isn't an
|
|
5
|
+
* expression or holds anything else (`{1 + 1}`, a CSS-looking body, two references in one brace).
|
|
6
|
+
* Exported so promotion gates can tell a variable reference apart from an expression that must
|
|
7
|
+
* stay literal.
|
|
8
|
+
*/
|
|
9
|
+
export declare function soleUserVariableExpression(node: Node): {
|
|
10
|
+
name: string;
|
|
11
|
+
wrapped: string;
|
|
12
|
+
} | null;
|
|
2
13
|
declare const variablesTextTransformer: Plugin;
|
|
3
14
|
export default variablesTextTransformer;
|