IntermediateArticleFREE5 min read

Adding Markdown to Framer

Mikhail Karan builds a custom React Markdown code component and wires it to a Framer CMS plain-text field so blog posts can be authored in Markdown inside the CMS.

Why we picked it

It fills a real CMS gap with a concise, copy-paste code component that any Framer blog can adopt without a third-party plugin.

What you’ll learn

  • Create a React code component inside Framer
  • Use react-markdown with remark-gfm for tables and GitHub-flavored Markdown
  • Expose a string property with addPropertyControls and bind it to a CMS field
  • Style rendered HTML with renderers for images and links

Who it’s for

Framer users who want to write blog content in Markdown rather than the CMS formatted-text field.

External resource

Open this article at the source

dev.to

Continue