unifiedjs / unifiedjs.github.io

Site for unified
https://unifiedjs.com
40 stars 25 forks source link

Guides #7

Closed Murderlon closed 1 month ago

Murderlon commented 5 years ago

As there has been talk of centralizing (some) of the docs and improving on helping users get started, I decided to start with writing more guides like the ones currently online and let those act as the introductory knowledge base about the ecosystem. These guides will probably get a prominent place on v2 of this website.

Any feedback is appreciated as well as ideas for new guides!


ChristianMurphy commented 5 years ago

Another possible guide series. Using Unified with:

See https://github.com/unifiedjs/unified/issues/34 for context

wooorm commented 5 years ago

Yeah that’s a great idea as well!

wooorm commented 5 years ago

This guide for Pandoc clearly explains some of the things we also need to explain: https://pandoc.org/filters.html

wooorm commented 5 years ago

Another idea: a guide on how to create a parser / syntax-tree format (spectrum)

Murderlon commented 5 years ago

Good one! I updated the issue to incorporate these new ideas.

ChristianMurphy commented 4 years ago

There is also a unified handbook now, is there any way these two efforts could be consolidated? /cc @johno

Murderlon commented 4 years ago

(accidentally closed the issue for a sec)

The to do list in it's current form mostly aligns with the intended contents of the handbook. But I'm not completely sure if the handbook should supersede all guides. I'd say it depends on how both would be presented.

Originally, I imagined the guides to live on V2 of the website with a title, subtitle, and reading time. They would be small and focused which would encourage users, who for instance just came to figure out what unified is about, to quickly and easily do just that. Instead of linking to a handbook GH readme with a scary table of contents with things like unist, abstract syntax trees, traversal, etc.

However, the handbook itself could be a readme and be presented on the website, structured and split up in way that makes sense for users, future plugin authors, and potential other areas.


wooorm commented 4 years ago

If anyone wants to restart work on this, I feel that the current set up makes it easier to work on them!

januswel commented 3 years ago

I searched docs to extends Markdown and found this

unified is really awesome but hard to use, because canonical documents for edge cases (like extending Markdown) are not available

But it seems this issue is not proceeding 🤔 Is it OK to send some PRs for the tasks? Or, users should refer the handbook?

ChristianMurphy commented 3 years ago

PRs enhancing and adding to the handbook are welcome!

wooorm commented 1 month ago

I looked at this issue again and wrote several guides! A lot has changed in 5 years too. Now that there are ±15 articles, I’d like to move towards separate issues for sections/articles that are missing.

  • Setting up tooling for browser support

https://unifiedjs.com/learn/guide/unified-in-the-browser/

  • Introduction to syntax trees with unist, mdast, hast, and nlcst

https://unifiedjs.com/learn/guide/introduction-to-syntax-trees/

  • How to create a new syntax tree format

I didn’t write this; it doesn’t happen often. It first needs to happen before I can write about it

  • Writing a hast plugin

https://unifiedjs.com/learn/guide/create-a-rehype-plugin/

  • Writing a mdast plugin

https://unifiedjs.com/learn/guide/create-a-remark-plugin/

  • Writing as nlcst plugin

This one existed for a while at https://unifiedjs.com/learn/guide/create-a-plugin/, I modernized it and moved it to https://unifiedjs.com/learn/guide/create-a-retext-plugin/

  • Writing a remark parser plugin. (Walk through of an example parser plugin)

I didn’t write this; it would be like https://github.com/micromark/micromark#creating-a-micromark-extension; as this isn’t super recommended, I chose not to put it on the site

  • vfile (Should probably be included but not sure how yet.)

I didn’t write this; vague, what it would be, indeed.