# new()

Create a new detached node of the given type.

Usage

[Source](https://github.com/posit-dev/multimark/blob/main/src/multimark/_node.py#L95-L122)

``` python
new(node_type)
```

The node is not part of any tree. Use mutation methods ([append_child()](../reference/multimark.Node.append_child.md), [insert_before()](../reference/multimark.Node.insert_before.md), etc.) to attach it.

## Parameters

`node_type: NodeType`  
The type of node to create.

## Returns

`Node`  
A new detached node.
