dwjohnston / dwjohnston/react-github-permalink

Feasibility of making this work with pure markdown blog post

Open
#7 1 comment 0 reactions 0 assignees View on GitHub
feature-request
Dominant language
TypeScript
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.