-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feasibility of making this work with pure markdown blog post #7
Comments
Hey - thanks for getting in touch. I think you're absolutely right - this would have wider applicability pure markdown solution. Presumably you would declare some special syntax like
(Or simply parse the gihub URLs!) Reality is - right now I'm not about to stop using .mdx - MDX has all the advantages of it being markdown, while letting me include arbitrary React code as I need it. In terms of how you would go about implementing this, there's two parts.
This logic is here: react-github-permalink/src/GithubPermalinkContext.tsx Lines 131 to 171 in 15aa842
For that I'm using Realistically I'm probably not going to get around to implementing a pure markdown solution - until I need one. |
Hey, I got here from reddit, 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? 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 -- marked.So to extend
zero-md
with displaying github permalink, we'd have to go tweakmarked
? Do you have some other idea?The text was updated successfully, but these errors were encountered: