<!-- Do not edit this file. It is automatically generated by API Documenter. --> [`MarkdownPostProcessorContext`](MarkdownPostProcessorContext) › [`addChild`](MarkdownPostProcessorContext/addChild) ## MarkdownPostProcessorContext.addChild() method Adds a child component that will have its lifecycle managed by the renderer. Use this to add a dependent child to the renderer such that if the containerEl of the child is ever removed, the component's unload will be called. **Signature:** ```typescript addChild(child: MarkdownRenderChild): void; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | <code>child</code> | [`MarkdownRenderChild`](MarkdownRenderChild) | | **Returns:** `void`