menu

unified

unified is an umbrella of ecosystems and projects of syntax trees for content, such as markdown, HTML, and prose. See our support docs on how to best get help! You can find our MDX community on spectrum.chat/mdx.

Channels
Team
Posts
Members
Info
down-caret

Could not find a declaration file for module 'remark-react'.

I'm building a full-stack, Gatsby, ReactJs application, with AWS and Dynamo db, I'm following a class and I'm struggling to debug why I cannot import remark-react. Other students do not have this issue. Here's the import error: Could not find a declaration file for module…

thumbsup
0
message-simple
3

What retext plugins are sync or async and vfiles on client-side

I'm using retext on client-side. I see that some plugins can be used with unified processor's runSync, but others require "files" and have an async nature. Does it make sense that's not always consistent? I'm curious about why! The editor examples don't seem to rely on vfiles so…

thumbsup
0
message-simple
2

hey guys, have you seen/used unified to give a custom json structure?

thumbsup
0
message-simple
3

TypeScript through JSDoc RFC

There is an Request For Comments regarding using TypeScript to check the code across the unified projects (vfile, unified, remark, rehype, etc) using JSDoc comments to drive the typings. https://github.com/unifiedjs/rfcs/pull/5 Feedback on the PR is welcome!

thumbsup
1
message-simple
0

TypeScript support

I see some new typings have been added to some unified modules (e.g. unist-util-visit) though type information is missing for lots of other modules. Would be useful if the community had visibility of the type coverage. Right now, the only option is attempting "npm install…

thumbsup
0
message-simple
5

Sharing my `unified` journey in building `unified-doc`

Hey guys, I have been working on a project built on top of the unified ecosystem and I wanted to share it with the community here! • Github: https://github.com/chrisrzhou/unified-doc • Interactive docs: https://unified-doc.netlify.com/ …

thumbsup
1
message-simple
1

enhanced remark image plugin

Hey everyone, I am trying to build a remark plugin which extends the syntax for images to something like this ![](./blah.png float=right&width=500&zoom=true) which can take some arguments like float, width, etc and style the image accordingly or add some custom js. What is the…

thumbsup
0
message-simple
3

How to efficiently scan large volume of js objects for markdown content?

Hello folks. I'm building a plugin for a cms package and the cms content is coming from javascript objects. I'm adding markdown support and I need to scan all of these objects to find which fields contain markdown content so that then I can properly process further. Any…

thumbsup
0
message-simple
1

Remark-Math on Docusaurus v2

Hi, I'm trying to use remark-math with Docusaurus v2. The instructions for using Remark plugins in Docusaurus v2 are found here. 🙂 At the very top of my docusaurus.config.js, I put: then I put …

thumbsup
0
message-simple
9

remark-rehype "\n" text nodes do not have positions.

Hey guys! I'm building a tool that primarily uses hast/rehype for downstream functionality. One of the great strengths of unified ecosystem is transforming data between formats. I'm running into an issue where remark-rehype is creating \n text nodes that do not have positions.…

thumbsup
0
message-simple
9