Add support for AsciiDoc README files
#12644
nlopes
started this conversation in
Feature Requests
Replies: 2 comments 7 replies
-
|
I feel like this has been discussed already in the past, but I can't seem to find the discussion anymore 😞 in any case, this is a decision that would not only affect crates.io, but also other downstream systems like docs.rs, thus it would require an RFC (see https://github.com/rust-lang/rfcs/). if you want to move this forward then coming up with an RFC would be the first step and then we can gauge whether the proposal is viable or not. |
Beta Was this translation helpful? Give feedback.
5 replies
-
|
Any progress on this? There's no RFC yet is there? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'd love if crates.io could render
README.adocfiles with custom html, just likeREADME.mdfiles do.I'm happy to put a PR to work on this - I don't think it would be a huge lift as long as a few assumptions I'm making hold true:
.adocor.asciidoc(I'm going to use.adocfrom now on for simplicity sake but assume both extensions)README.adocfiles for now, user has to setreadme = README.adocinCargo.tomlREADME.mdifreadme =isn't set but nothing elseI'm looking for any current maintainers/developers of crates.io for objections - barring that I'm willing to just put a PR up.
Additional context:
I've created a set of asciidoc tooling in rust (you can find it in https://github.com/nlopes/acdc which includes a parser and multiple converters). One of those converters is a HTML converter, meaning the code should be very similar to the current markdown one.
I don't intend to add this feature as a piece of self promotion (although I get that it may come across that way) - if there are other parsers/converters you'd prefer I use, happy to do that as well! In the end, the main outcome I'd love to have is crates.io supporting
README.adocfiles out of the box.Beta Was this translation helpful? Give feedback.
All reactions