Skip to content

importantimport/fff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a490b56 Β· Feb 24, 2024
Jan 11, 2024
May 23, 2023
May 22, 2023
Feb 24, 2024
Jan 11, 2024
Jul 18, 2022
May 23, 2023
Aug 18, 2022
Jul 18, 2022
Nov 25, 2023
May 23, 2023
Nov 25, 2023
Dec 15, 2023
Dec 26, 2023
Aug 13, 2022
Nov 25, 2023
Nov 25, 2023
Dec 19, 2023
Nov 25, 2023
Nov 21, 2022
The Flexible & Functional Frontmatter Solution.


πŸ“¦οΈ Packages

npm minified size downloads deno.land

Type definition of the FFF Flavored Frontmatter.

import type { FFFFlavoredFrontmatter } from 'fff-flavored-frontmatter'

npm minified size downloads

Predefined transform presets for FFF Flavored Frontmatter.

import { transform } from 'fff-flavored-frontmatter'
import { hexo } from 'fff-transform-presets'

fm = transform(fm, [hexo])

npm minified size downloads

Remark plugin for auto-conversion other frontmatter variable formats to FFF Flavored Frontmatter.

import remarkFFF from 'remark-fff'
import { hexo } from 'fff-transform-presets'

export default defineConfig({
  remarkPlugins: [[remarkFFF, { presets: [hexo], target: 'astro' }]],
})

npm minified size downloads

markdown-it plugin for auto-conversion other frontmatter variable formats to FFF Flavored Frontmatter.

import MarkdownIt from 'markdown-it'
import { frontmatterPlugin } from '@mdit-vue/plugin-frontmatter'
import { fffPlugin } from 'markdown-it-fff'

const md = MarkdownIt().use(frontmatterPlugin).use(fffPlugin)

npm minified size downloads

FFF Flavored Frontmatter publication preset for Indiekit.

{
  "indiekit-preset-fff": {
    "format": "yaml",
    "types": "urara"
  },
  "plugins": ["indiekit-preset-fff"]
}

npm minified size downloads

pnpm create fff netlify-cms

πŸ“„ License

This work is free, it comes without any warranty. You can redistribute it and/or modify it under the terms of the Do What The Fuck You Want To Public License, Version 2, as published by Sam Hocevar. See the COPYING file for more details.