Definition
Assembly: CloudNimble.DotNetDocs.Mintlify.dll Namespace: CloudNimble.DotNetDocs.Mintlify.Transformers Inheritance: System.ObjectSyntax
Summary
Transforms HTML-style comments to JSX-style comments for MDX compatibility.Remarks
MDX (used by Mintlify) requires JSX-style comments instead of HTML comments <!— —>. This transformer processes all string properties in the DocEntity object graph and converts HTML comments to JSX comments to prevent MDX parsing errors.Constructors
.ctor
Syntax
.ctor Inherited
Inherited from
objectSyntax
Methods
Equals Inherited Virtual
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
obj | object? | - |
Returns
Type:bool
Equals Inherited
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
objA | object? | - |
objB | object? | - |
Returns
Type:bool
GetHashCode Inherited Virtual
Inherited from
objectSyntax
Returns
Type:int
GetType Inherited
Inherited from
objectSyntax
Returns
Type:System.Type
MemberwiseClone Inherited
Inherited from
objectSyntax
Returns
Type:object
ReferenceEquals Inherited
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
objA | object? | - |
objB | object? | - |
Returns
Type:bool
ToString Inherited Virtual
Inherited from
objectSyntax
Returns
Type:string?
TransformAsync
Transforms a documentation entity by converting HTML comments to JSX comments.Syntax
Parameters
| Name | Type | Description |
|---|---|---|
entity | CloudNimble.DotNetDocs.Core.DocEntity | The documentation entity to transform. |
Returns
Type:System.Threading.Tasks.Task
A task representing the asynchronous transformation operation.
Related APIs
- CloudNimble.DotNetDocs.Core.IDocTransformer