dwjohnston / dwjohnston/react-github-permalink

Feasibility of making this work with pure markdown blog post

Abierto
#7 1 comentario 0 reacciones 0 asignados Ver en GitHub
feature-request
Lenguaje dominante
TypeScript
Estrellas
2
Forks
0
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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?

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.