Skip to content
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

Allow generating Gemini #504

Closed
ibotty opened this issue Nov 19, 2020 · 1 comment
Closed

Allow generating Gemini #504

ibotty opened this issue Nov 19, 2020 · 1 comment

Comments

@ibotty
Copy link

ibotty commented Nov 19, 2020

I'd like to generate Gemini (markup) from markdown files, ideally with the same library software I use already uses to generate HTML. Would you potentially accept a patch adding support (without additional dependencies of course)?

Of course it's a complicated by the fact that there not being a spec on how to translate various markdown constructs to gemini.

https://gemini.circumlunar.space/docs/specification.html section 5: The text/gemini media type

@marcusklaas
Copy link
Collaborator

This is certainly something that pulldown can be used for, but I believe it's not something that needs to be in the pulldown crate itself. Something similar was done in the pulldown-cmark-to-cmark crate, which uses pulldown to re-emit markdown, possibly after doing some transformations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants