portable-text Open-Source Projects
-
portabletext
Portable Text is a JSON based rich text specification for modern content editing platforms.
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
Project mention: 👩💻Cara Install Code Highlight di Next.js dan CMS Sanity dengan SyntaxHighlighter | dev.to | 2023-11-25/** * This component uses Portable Text to render a post body. * * You can learn more about Portable Text on: * https://www.sanity.io/docs/block-content * https://github.com/portabletext/react-portabletext * https://portabletext.org/ * */ import { PortableText } from '@portabletext/react' import styles from './PostBody.module.css' import SyntaxHighlighter from 'react-syntax-highlighter' export default function PostBody({ content }) { const serializers = { types: { code: ({ value }: any) => (
{value.code} SyntaxHighlighter> div> ), }, } return (div> ) }
portable-text related posts
Index
Project | Stars | |
---|---|---|
1 | portabletext | 1,213 |
2 | react-portabletext | 273 |
Sponsored