[GH-ISSUE #34] Type definition of markdown processor(remark.js) #29

Closed
opened 2026-03-03 00:17:43 +03:00 by kerem · 1 comment
Owner

Originally created by @Rokt33r on GitHub (Jul 18, 2018).
Original GitHub issue: https://github.com/BoostIO/BoostNote-App/issues/34

We're going to use Remark. https://github.com/remarkjs
But, it still doesn't have a proper definition yet.

So we have two options:

  1. Make type definitions for remark.js
  2. Rewrite in typescript https://github.com/Rokt33r/typed-remark/

The first option should be done quite soon. But, we might lose the power of typescript.
The second is a very hard way. I'd tried it and I found it is worth to do it. If we do, we could extend the library dependably. (Sadly, the original author should want to keep using pure Javascript.)

Until this issue is resolved, we're going to use marked(or any other library which has own type definitions)

Originally created by @Rokt33r on GitHub (Jul 18, 2018). Original GitHub issue: https://github.com/BoostIO/BoostNote-App/issues/34 We're going to use Remark. https://github.com/remarkjs But, it still doesn't have a proper definition yet. So we have two options: 1. Make type definitions for remark.js 2. Rewrite in typescript https://github.com/Rokt33r/typed-remark/ The first option should be done quite soon. But, we might lose the power of typescript. The second is a very hard way. I'd tried it and I found it is worth to do it. If we do, we could extend the library dependably. (Sadly, the original author should want to keep using pure Javascript.) Until this issue is resolved, we're going to use marked(or any other library which has own type definitions)
kerem closed this issue 2026-03-03 00:17:43 +03:00
Author
Owner

@Rokt33r commented on GitHub (Dec 16, 2018):

I'm going to implement all type definition for all modules of remark.js. Until then, I'll go with custom type definitions.

<!-- gh-comment-id:447635016 --> @Rokt33r commented on GitHub (Dec 16, 2018): I'm going to implement all type definition for all modules of remark.js. Until then, I'll go with custom type definitions.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/BoostNote-App#29
No description provided.