rliterate

所属分类:开发工具
开发工具:Rust
文件大小:0KB
下载次数:0
上传日期:2023-10-30 10:10:05
上 传 者sh-1993
说明:  “literate”literate编程工具的Trust lang实现
(A rust-lang implementation of the `literate` literate programming tool)

文件列表:
Cargo.lock (16710, 2023-10-27)
Cargo.toml (78, 2023-10-27)
LICENSE (1060, 2023-10-27)
rliterate_core/ (0, 2023-10-27)
rliterate_core/Cargo.toml (239, 2023-10-27)
rliterate_core/src/ (0, 2023-10-27)
rliterate_core/src/input.rs (1415, 2023-10-27)
rliterate_core/src/lib.rs (2396, 2023-10-27)
rliterate_core/src/link/ (0, 2023-10-27)
rliterate_core/src/link/mod.rs (9516, 2023-10-27)
rliterate_core/src/output/ (0, 2023-10-27)
rliterate_core/src/output/canon.rs (5238, 2023-10-27)
rliterate_core/src/output/css.rs (2407, 2023-10-27)
rliterate_core/src/output/mod.rs (3420, 2023-10-27)
rliterate_core/src/output/tangle.rs (5869, 2023-10-27)
rliterate_core/src/output/weave/ (0, 2023-10-27)
rliterate_core/src/output/weave/default.css (1077, 2023-10-27)
rliterate_core/src/output/weave/html.rs (2661, 2023-10-27)
rliterate_core/src/output/weave/katex.html (191772, 2023-10-27)
rliterate_core/src/output/weave/markdown.rs (4029, 2023-10-27)
rliterate_core/src/output/weave/mod.rs (5338, 2023-10-27)
rliterate_core/src/parser/ (0, 2023-10-27)
rliterate_core/src/parser/ast.rs (11007, 2023-10-27)
rliterate_core/src/parser/grammar.rs (9663, 2023-10-27)
rliterate_core/src/parser/mod.rs (6081, 2023-10-27)
rliterate_executables/ (0, 2023-10-27)
rliterate_executables/Cargo.toml (385, 2023-10-27)
rliterate_executables/src/ (0, 2023-10-27)
rliterate_executables/src/args.rs (7690, 2023-10-27)
rliterate_executables/src/cargo.rs (3377, 2023-10-27)
rliterate_executables/src/lib.rs (1226, 2023-10-27)
rliterate_executables/src/main.rs (1876, 2023-10-27)

# rliterate: a rust-lang implementation of literate `rliterate` is a implementation in **Rust** of [zyedidia's `literate` programming tool](https://github.com/zyedidia/literate). It aims to be mostly backwards compatible with `literate`, prioritising the most useful features, while adding some extensions. That means that not all `.lit` files that worked in `literate` will be guaranteed to work in `rliterate`, but any incompatibilities will be reported with a recommended fix, and any differences in behaviour should be obvious. ## Documentation For an existing source of not-quite-exact information, please refer to the documentation for `zyedidia/literate`. ## Binaries This project produces multiple binaries. ### literate This is the main binary, and is intended to be used in the same way as the original `literate` tool. Read the command-line help for more information. ### cargo-lit This is a cargo subcommand for literate **Rust** projects. For single projects, it will try to find the `lit` folder in the project root, and process `.lit` files in that folder, recursing into any subfolders - the resulting code files are placed into the `src` folder. Currently, this also places the documentation files in the `src` folder, but that should be configurable and avoidable soon. For a workspace, the command acts recursively. ### Differences - File-level commands can only be defined once. In practise, this should affect nobody. - CSS commands are deprecated, and their behaviour is somewhat different. If you want to add custom CSS stylings to your output, it's recommended you use a specialised tool for making webpages out of the raw markdown or HTML files. - The line number CLI argument has been replacement with a `@line_numbers` command. This functions similarly to the `@comment_type` command, but with `%l` in place of `%s`.

近期下载者

相关文件


收藏者