> 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/api/csharp/yarn.unity/yarn.unity.lineproviderbehaviour/yarn.unity.lineproviderbehaviour.registermarkerprocessor.md).

# RegisterMarkerProcessor(string,IAttributeMarkerProcessor)

Method in [LineProviderBehaviour](/api/csharp/yarn.unity/yarn.unity.lineproviderbehaviour.md)

## Summary

Adds a new marker processor to the line provider.

```csharp
public abstract void RegisterMarkerProcessor(string attributeName, IAttributeMarkerProcessor markerProcessor);
```

## Parameters

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