dwjohnston / dwjohnston/react-github-permalink

Feasibility of making this work with pure markdown blog post

Ouverte
#7 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
feature-request
Langage dominant
TypeScript
Étoiles
2
Forks
0
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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?

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.