[**@wocart/theme v4.1.0**](../../README)

***

[@wocart/theme](../../README) / [index](../README) / RichTextHtmlOptions

# Interface: RichTextHtmlOptions

How `richTextToHtml` writes links.

## Properties

### href?

> `optional` **href?**: (`target`) => `string`

Turns a stored link target into the `href` to render — a theme passes its
own localizing function so a site path keeps the shopper's language. The
result is escaped; a target that fails the link rule never reaches it.

#### Parameters

##### target

`string`

#### Returns

`string`

***

### inline?

> `optional` **inline?**: `boolean`

`true`: the first paragraph's text only, without a block element — for a field with `inline: true`.
