dwjohnston / dwjohnston/react-github-permalink

Feasibility of making this work with pure markdown blog post

オープン
#7 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
feature-request
主要言語
TypeScript
スター
2
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

説明

Hey, I got here from [reddit](https://www.reddit.com/r/reactjs/comments/17jeufg/i_made_a_github_permalink_code_block_displayer/), and this tool seems great, thanks for making it:).

I'm wondering how feasible is it to make this work with this other project called [zero-md](https://github.com/zerodevx/zero-md/tree/main)? Basically I'm trying to write some blog post in pure markdown, and render it in HTML. But looks like `zero-md` uses another project to [parse the markdown source](https://github.com/zerodevx/zero-md/blob/e910d79512e9e6e725715bac8a1f16ccc3c24749/src/index.js#L258-L260) -- [marked](https://github.com/markedjs/marked).

So to extend `zero-md` with displaying github permalink, we'd have to go tweak `marked`? Do you have some other idea?

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。