Crates.io | render_readme |
lib.rs | render_readme |
version | |
source | src |
created_at | 2022-09-03 16:21:28.147166 |
updated_at | 2025-01-13 21:13:05.297894 |
description | Render Markdown or reStructuredText with syntax highlighting and image filtering similar to GitHub's |
homepage | |
repository | https://gitlab.com/lib.rs/render_readme |
max_upload_size | |
id | 657953 |
Cargo.toml error: | TOML parse error at line 23, column 1 | 23 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
Readme to HTML conversion for lib.rs. It's mostly internal,
Supports:
rst2html
),<span class>
. Actual theme colors are in the style subproject.Install docutils
package, so that rst2html
command is available (in PATH
).
It needs to write a file to system's temp directory for rst2html
. If you clear temp while the program is running, rst support may fail.
It generates HTML <span>
class names based on scope names from Sublime Syntax files, but:
highlight.rs
for the list of abbreviations.All languages are precompiled from syntaxes/
submodule.
tmLanguage
definitions need to be converted first.