> For the complete documentation index, see [llms.txt](https://docs.yarnspinner.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yarnspinner.dev/3.1/api/csharp/yarn.unity/yarn.unity.ilineprovider/yarn.unity.ilineprovider.registermarkerprocessor.md).

# RegisterMarkerProcessor(string,Yarn.Markup.IAttributeMarkerProcessor)

Method in [ILineProvider](/3.1/api/csharp/yarn.unity/yarn.unity.ilineprovider.md)

## Summary

Adds a new marker processor to the line provider.

```csharp
public void RegisterMarkerProcessor(string attributeName, Yarn.Markup.IAttributeMarkerProcessor markerProcessor);
```

## Parameters

| Name                                                                                                              | Description                                           |
| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------- |
| `string` attributeName                                                                                            | The name of the markers to use `markerProcessor` for. |
| [IAttributeMarkerProcessor](/3.1/api/csharp/yarn.markup/yarn.markup.iattributemarkerprocessor.md) markerProcessor | The marker processor to add.                          |
