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
# All channels
view-forward
# general
view-forward
# micromark
view-forward
# redot
view-forward
# rehype
view-forward
# remark
view-forward
# retext
view-forward
# syntax-tree
view-forward
# type-definitions
view-forward
# unified
view-forward
# vfile
view-forward
Team
Posts
Members
Info
down-caret

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

Is there any way to execute async work when visiting a node in unist-util-visit?

what I basically wanna do is but yeah it seems that is a no go? any ideas?

thumbsup
0
message-simple
1

Is this a bug? Where do I open it?

https://gist.github.com/TitiAlone/9521f571de495c56b581d99cd700210c I expect the numbers in the ordered list to match the numbers in the reference. IMO, remark counts from definitions order while remark-rehype count from references order.

thumbsup
0
message-simple
10

How to compile a custom hast node into HTML?

(editied) Let me clarify my question.. I have a correct mdast, and a correct hast (generated from https://github.com/Ir1d/remark-details) …

thumbsup
0
message-simple
3

How to use remark to render mathjax?

I noticed that remark-math and remark-html-katex exist, is there a way to render math formulas in mathjax way? Thank you in advance

thumbsup
0
message-simple
3

How do I prevent rehype from turning a plain text URL into an anchor element?

I don't want rehype to parse "http://google.com" and wrap it in an anchor element.

thumbsup
0
message-simple
2

remark --report= -- What reports are available to use?

Hey guys! I'm trying to use the remark CLI to pass as input to reveiwdog What possible values does --report take? …

thumbsup
0
message-simple
1

I'm stuck with a layout where every page is a `directory/index.md`

I want to use remark-validate-links so I tried changing the readme regex to Which sort-of worked, but relative anchor links are still failing: Where concepts/index.md has a link to ../backup#velero. Any tips to how I can make this work?

thumbsup
0
message-simple
4

What would be a good alternative for "invalid" in a context of technical…

Hey, I get a warning from alex for "invalid" (coming from retext-equality/data/en/ablist.yml) in a sentence like "When a users enters invalid data into the field...". The suggestions are turned off, has a disability, person with a disability, people with disabilities, but none…

thumbsup
0
message-simple
4

Should remark-react render images via the `![]()` syntax?

I am just getting the string when trying to hotlink an image.

thumbsup
0
message-simple
1