Giter Site home page Giter Site logo

Types definitions about remark-slug HOT 5 CLOSED

cobbdb avatar cobbdb commented on June 19, 2024 1
Types definitions

from remark-slug.

Comments (5)

ChristianMurphy avatar ChristianMurphy commented on June 19, 2024

Pull requests are welcome!
With ts definitions we tend to follow definitly typed's policy of including the typings, dtslint, and a type test.
The process is usually pretty quick, you can see some examples here: remarkjs/strip-markdown#21, remarkjs/remark-external-links#18, and remarkjs/remark-footnotes#4

Closing this issue out, as it is a goal across all 300+ unifier/remark repos, and keeping an open issue for each is a bit much πŸ˜…

from remark-slug.

SalahAdDin avatar SalahAdDin commented on June 19, 2024

@ChristianMurphy We need it for this package too, but i forgot how to do that hahahahaha

from remark-slug.

ChristianMurphy avatar ChristianMurphy commented on June 19, 2024

A pull request adding typings.
remarkjs/strip-markdown#21, remarkjs/remark-external-links#18, and remarkjs/remark-footnotes#4 offer some examples of this

from remark-slug.

ChristianMurphy avatar ChristianMurphy commented on June 19, 2024

It's also becoming more common for the typings to be generated from JSDoc, an example of how that looks/is configured can be seen at https://github.com/syntax-tree/mdast-util-gfm/blob/main/index.js, https://github.com/syntax-tree/mdast-util-gfm/blob/main/tsconfig.json, and https://github.com/syntax-tree/mdast-util-gfm/blob/55fdc589e50e832d98b8d246e7ed5dba90dc9cbf/package.json#L67

from remark-slug.

SalahAdDin avatar SalahAdDin commented on June 19, 2024

@ChristianMurphy I made a humble contribution.

from remark-slug.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.