# Function: importInkText() (/jsdoc/pixi-vn-ink/index/functions/importInkText)



\> **importInkText**(`texts`, `options?`): `Promise`\<`string`\[]>

Defined in: [src/loader/importer.ts:24](https://github.com/DRincs-Productions/pixi-vn-ink/blob/c61af08e067878c4529bcc48dc32c8ef72ffc487/src/loader/importer.ts#L24)

This function imports string or array of strings written in ink language into the Pixi’VN engine.

## Parameters [#parameters]

### texts [#texts]

`string` | `string`\[]

string or array of strings written in ink language

### options? [#options]

#### characters? [#characters]

readonly [`CharacterIdSource`](/jsdoc/pixi-vn-ink/index/type-aliases/CharacterIdSource)\[]

characters recognised when splitting `characterId: text` speakers, in
addition to `RegisteredCharacters` (pass when importing before characters are registered)

## Returns [#returns]

`Promise`\<`string`\[]>

## Example [#example]

```ts title="main.ts"
import { importInkText } from 'pixi-vn'
importInkText(`
=== back_in_london ===
Hello, World!
`).then(() => {
    GameStepManager.callLabel("back_in_london", {})
})
```
