The value of custom fields of type Text is represented as you may expect - as Metafields with string values matching the value of their respective custom fields

<h3>{{ product.metafields.accentuate.subtitle }}</h3>

If you need to display multi-line texts on your storefront, you can take advantage of the newline_to_br filter, so line breaks will be formatted correctly:

<h3>{{ product.metafields.accentuate.subtitle | newline_to_br }}</h3>

Last updated