dwjohnston / dwjohnston/react-github-permalink

Feasibility of making this work with pure markdown blog post

Aperta
#7 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
feature-request
Lingua principale
TypeScript
Stelle
2
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.