rustdoc-to-markdown 0.1.0

Transform code blocks from rustdoc into markdown
Documentation
  • Coverage
  • 28.57%
    2 out of 7 items documented0 out of 6 items with examples
  • Size
  • Source code size: 13.9 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.71 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 25s Average build duration of successful builds.
  • all releases: 25s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • movingco/move-readme
    3 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • macalinao

rustdoc-to-markdown

Transform code blocks from rustdoc into markdown

Rewrite code block start tags, changing rustdoc into equivalent in markdown:

  • "", "no_run", "ignore" and "should_panic" are converted to "```rust"
  • markdown heading are indentend to be one level lower, so the crate name is at the top level

Code taken almost verbatim from https://github.com/livioribeiro/cargo-readme/blob/a7fd456433832f873cee890a9e67ece9929fc795/src/readme/process.rs.

License: Apache-2.0