> 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/yarn.imarkupparser/yarn.imarkupparser.parsemarkup.md).

# ParseMarkup(string,string)

Method in [IMarkupParser](/api/csharp/yarn/yarn.imarkupparser.md)

## Summary

Parses a string into markup, given a locale.

```csharp
public MarkupParseResult ParseMarkup(string rawText, string localeCode);
```

## Parameters

| Name                | Description                              |
| ------------------- | ---------------------------------------- |
| `string` rawText    | The text to parse.                       |
| `string` localeCode | The locale to use when parsing the text. |
