Crates.io | tui-markdown |
lib.rs | tui-markdown |
version | 0.2.12 |
source | src |
created_at | 2024-02-27 09:57:18.66201 |
updated_at | 2024-10-22 07:30:26.981688 |
description | A simple library for converting markdown to a Rataui Text value |
homepage | |
repository | https://github.com/joshka/tui-markdown |
max_upload_size | |
id | 1154968 |
size | 72,870 |
An experimental Proof of Concept library for converting markdown content to a Ratatui Text
value. See Markdown-reader for an example application that uses this library.
GitHub Repository · API Docs · [Examples] · Changelog · Contributing
cargo add tui-markdown
let input = "# Heading\n\n**bold**"; // this can come from whereever
let text = tui_markdown::from_str(input);
text.render(area, &mut buf);
Initial implementation - this is very much WIP (see lib.rs todo!()
s)
Copyright (c) 2024 Josh McKinney
This project is licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
See CONTRIBUTING.md.