FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

importantimport/fff: 🌟 The Flexible & Functional Frontmatter Solution. · GitHub

The Flexible & Functional Frontmatter Solution.


📦️ Packages

Type definition of the FFF Flavored Frontmatter.

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

Predefined transform presets for FFF Flavored Frontmatter.

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

fm = transform(fm, [hexo])

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' }]],
})

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)

FFF Flavored Frontmatter publication preset for Indiekit.

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

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.

About

🌟 The Flexible & Functional Frontmatter Solution.

Topics

Resources

Code of conduct

Security policy

Stars

18 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Used by

Contributors

Languages


Back | FazBrowse Home | New Git URL