Crates.io | rustdoc-to-markdown |
lib.rs | rustdoc-to-markdown |
version | 0.1.0 |
source | src |
created_at | 2022-07-09 03:50:13.091261 |
updated_at | 2022-07-09 03:50:13.091261 |
description | Transform code blocks from rustdoc into markdown |
homepage | https://moving.wtf |
repository | https://github.com/movingco/move-readme |
max_upload_size | |
id | 622256 |
size | 12,839 |
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"Code taken almost verbatim from https://github.com/livioribeiro/cargo-readme/blob/a7fd456433832f873cee890a9e67ece9929fc795/src/readme/process.rs.
License: Apache-2.0