You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
static member inlinepre(render:ICodeProperties ->ReactElement)= unbox<IComponent>(PropHelper.mkAttr "pre" render)
93
93
94
94
95
95
typeINodeType=interfaceend
@@ -128,37 +128,42 @@ type nodeTypes =
128
128
typemarkdown=
129
129
/// The Markdown source to parse
130
130
[<System.Obsolete "markdown.source is deprecated. Use markdown.children insteadf">]
131
-
static member inlinesource(value:string)=Interop.mkAttr "children" value
131
+
static member inlinesource(value:string)=PropHelper.mkAttr "children" value
132
132
/// The Markdown source to parse
133
-
static member inlinechildren(value:string)=Interop.mkAttr "children" value
134
-
static member inlinecomponents(components:IComponent list)=Interop.mkAttr "components"(createObj !!components)
133
+
static member inlinechildren(value:string)=PropHelper.mkAttr "children" value
134
+
static member inlinecomponents(components:IComponent list)=PropHelper.mkAttr "components"(createObj !!components)
135
135
/// Setting to `false` will cause HTML to be rendered (see notes below about proper HTML support). Be aware that setting this to false might cause security issues if the input is user-generated. Use at your own risk. (default: `true`).
136
-
static member inlineescapeHtml(value:bool)=Interop.mkAttr "escapeHtml" value
136
+
static member inlineescapeHtml(value:bool)=PropHelper.mkAttr "escapeHtml" value
137
137
/// Setting to `true` will skip inlined and blocks of HTML (default: `false`).
138
-
static member inlineskipHtml(value:bool)=Interop.mkAttr "skipHtml" value
138
+
static member inlineskipHtml(value:bool)=PropHelper.mkAttr "skipHtml" value
139
139
/// Setting to `true` will add `data-sourcepos` attributes to all elements, indicating where in the markdown source they were rendered from (default: `false`).
140
-
static member inlinesourcePosition(value:bool)=Interop.mkAttr "sourcePos" value
140
+
static member inlinesourcePosition(value:bool)=PropHelper.mkAttr "sourcePos" value
141
141
/// Setting to `true` will pass a sourcePosition property to all renderers with structured source position information (default: `false`).
142
-
static member inlinerawSourcePosition(value:bool)=Interop.mkAttr "rawSourcePos" value
142
+
static member inlinerawSourcePosition(value:bool)=PropHelper.mkAttr "rawSourcePos" value
143
143
/// Setting to `true` will pass index and parentChildCount props to all renderers (default: `false`).
144
-
static member inlineincludeNodeIndex(value:bool)=Interop.mkAttr "includeNodeIndex" value
144
+
static member inlineincludeNodeIndex(value:bool)=PropHelper.mkAttr "includeNodeIndex" value
145
145
/// Defines which types of nodes should be allowed (rendered). (default: all types).
146
-
static member inlineallowedTypes(types:INodeType list)=Interop.mkAttr "allowedTypes"(Array.ofList types)
146
+
static member inlineallowedTypes(types:INodeType list)=PropHelper.mkAttr "allowedTypes"(Array.ofList types)
147
147
/// Defines which types of nodes should be allowed (rendered). (default: all types).
148
-
static member inlineallowedTypes(types:INodeType array)=Interop.mkAttr "allowedTypes" types
148
+
static member inlineallowedTypes(types:INodeType array)=PropHelper.mkAttr "allowedTypes" types
149
149
/// Defines which types of nodes should be disallowed (not rendered). (default: none).
150
-
static member inlinedisallowedTypes(types:INodeType list)=Interop.mkAttr "disallowedTypes"(Array.ofList types)
150
+
static member inlinedisallowedTypes(types:INodeType list)=PropHelper.mkAttr "disallowedTypes"(Array.ofList types)
151
151
/// Defines which types of nodes should be disallowed (not rendered). (default: none).
152
-
static member inlinedisallowedTypes(types:INodeType array)=Interop.mkAttr "disallowedTypes" types
152
+
static member inlinedisallowedTypes(types:INodeType array)=PropHelper.mkAttr "disallowedTypes" types
153
153
[<System.Obsolete "markdown.renderers is obsolete. Use markdown.components instead">]
154
154
static member inlinerenderers(renderers:IMarkdownRenderer list)=
0 commit comments