remarkjs / remark-directive

remark plugin to support directives
https://remark.js.org
MIT License
250 stars 15 forks source link

Update docs for newcomers #6

Closed wooorm closed 2 years ago

wooorm commented 2 years ago

Initial checklist

Description of changes

This improves the docs, focussing on newcomers. The goal is to make it easier for folks without background information on unified/remark/asts/etc to figure out what a project is and if they need it or something else.

I thought I’d kick something off but the plan is for similar changes to go out to all unified readmes.

Related-to: unifiedjs/unified#168.

/cc @nemo-omen

codecov-commenter commented 2 years ago

Codecov Report

Merging #6 (29ddc60) into main (86376c7) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##              main        #6   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines           36        36           
=========================================
  Hits            36        36           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 86376c7...29ddc60. Read the comment docs.

wooorm commented 2 years ago

@nemo-omen I’ve significantly reworked the docs some more. The rendered view is here: https://github.com/remarkjs/remark-directive/blob/docs/readme.md. This adds sections on examples, syntax, syntax tree, types, and compatibility. It also adds deno and browsers to the install section. Could you check again?

The plan is to apply similar changes to all projects.

/cc @ChristianMurphy @remcohaszing

github-actions[bot] commented 2 years ago

Hi! This was closed. Team: If this was merged, please describe when this is likely to be released. Otherwise, please add one of the no/* labels.