mdx-deck
portabletext
Our great sponsors
mdx-deck | portabletext | |
---|---|---|
3 | 4 | |
11,271 | 1,209 | |
- | 1.7% | |
0.0 | 5.3 | |
over 1 year ago | 22 days ago | |
JavaScript | ||
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
mdx-deck
-
Marp: Markdown Presentation Ecosystem
I've been a fan of mdx-deck for a while (https://github.com/jxnblk/mdx-deck).
-
On the limits of MDX
Yep, you can import JSX components and embed them with your run-of-the-mill Markdown prose. If you're documenting your JSX based component library, which is what Docz let you do, this makes all the sense in the world. MDX is also used to author slide decks in mdx-deck, which is very appealing if you're tired of clicking around in Keynote/PowerPoint/Google Sheets. Which many of us are. I'm not denying the appeal or usability of MDX for certain things for certain people.
-
Use git submodules and make for simple code sharing
Including the building of graphviz within pandoc lead to high build times, which is exactly the problem I wanted to avoid with the move away from mdx-deck
portabletext
-
Anchor Links From Sanity in Gatsby
Sanity is a headless content based CMS. You write in a rich text editor, which creates portable text. So unlike markdown you wont have to convert header # items but you will have to serialize the portable text into something that Gatsby can understand. I won't dive too deeply into how you create a site using sanity.io there are some great guides for that using gatsby-source-sanity.
- Portable Text
-
On the limits of MDX
I get it. I get the tangibility of flat files. I get that it feels good to take your coding skills into your prose. But it's not the best way to work with content. Text editors with familiar affordances that produce typed rich text that can be queried and serialized into whatever you need are better. Where developers can define the data structures they need, and editors get easy-to-use tools to get their work done. Like what we're building at Sanity with Portable Text.
-
Top 5 Rich-Text React Components
Portable text is a JSON-based open specification with a renewed approach to handling and presenting rich text in modern applications. Portable text is created to solve challenges in creating rich content and its presentation in various differing interfaces.
What are some alternatives?
cloudflare-docs - Cloudflare’s documentation
slate - A completely customizable framework for building rich text editors. (Currently in beta.)
gatsby-blog-mdx - A ready-to-use, customizable personal blog with minimalist design
mdx - Markdown for the component era
markdeep-slides - Build presentation slides with Markdeep and present them right in your browser.
jodit-react - React wrapper for Jodit
gatsby-source-ghost - Source plugin for pulling data into Gatsby.js from the Ghost Public API.
react-quill - A Quill component for React.
blog - My blog created with React, Gatsby & Markdown
Draft.js - A React framework for building text editors.
marpit - The skinny framework for creating slide deck from Markdown
gatsby-source-sanity - Gatsby source plugin for building websites using Sanity.io as a backend.