How to use the gatsby-tinacms-remark.useLocalRemarkForm function in gatsby-tinacms-remark

To help you get started, we’ve selected a few gatsby-tinacms-remark examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github tinacms / tina-starter-grande / src / templates / post.js View on Github external
!formValues.frontmatter.hero ||
              !formValues.frontmatter.hero.image
            )
              return ""
            return formValues.frontmatter.hero.image.childImageSharp.fluid.src
          },
        },
        {
          label: "Body",
          name: "rawMarkdownBody",
          component: "markdown",
        },
      ],
    }
  }, [])
  const [markdownRemark, form] = useLocalRemarkForm(
    props.data.markdownRemark,
    PostForm
  )

  return (
    
      {editingProps => {
        return (
          
        )
      }}

gatsby-tinacms-remark

A Gatsby/Tina plugin for **editing Markdown files stored in git**.

Apache-2.0
Latest version published 3 years ago

Package Health Score

53 / 100
Full package analysis