# pinCommentText (/docs/api/functions/pinCommentText)



```ts
function pinCommentText(
   ref, 
   style, 
   resolvedAt?): string;
```

Defined in: [packages/core/src/passes/pin.ts:106](https://github.com/austenstone/actio/blob/2b01e694a0f76521d8c073f3c6a2e48917d2c9d9/packages/core/src/passes/pin.ts#L106)

Leading-space comment text (so YAML renders `# tag`); empty when style is "none".

## Parameters [#parameters]

### ref [#ref]

`string`

### style [#style]

[`PinCommentStyle`](../type-aliases/PinCommentStyle.mdx)

### resolvedAt? [#resolvedat]

`string`

## Returns [#returns]

`string`


## Sitemap

Browse the full documentation: [Markdown sitemap](https://austenstone.github.io/actio/sitemap.md) · [XML sitemap](https://austenstone.github.io/actio/sitemap.xml)