Home > remark-fff > RemarkFFFOptions > target
RemarkFFFOptions.target property
Replacement target for Remark FFF.
Signature:
typescript
target?: 'astro' | 'mdsvex' | 'nuxt' | string[];
Example
ts
// astro: file.data.astro.frontmatter
const target = ['astro', 'frontmatter'] // file.data['astro']['frontmatter']
// mdsvex: file.data.fm
const target = ['fm'] // file.data['fm']
// nuxt: file.data
const target = undefined // file.data