Crates.io | doccy |
lib.rs | doccy |
version | 0.3.2 |
source | src |
created_at | 2018-09-21 10:44:49.624861 |
updated_at | 2019-12-19 06:49:16.549689 |
description | Doccy is a simple brace based markup language. |
homepage | |
repository | https://gitlab.com/anarchistmae/doccy-rs |
max_upload_size | |
id | 85795 |
size | 43,476 |
Doccy is a simple brace based markup language, an alternative to writing HTML for people who enjoy the power and flexibility but do not enjoy writing it.
See the latest documentation for more information about Doccy syntax and provided APIs.
Implied paragraphs and line breaks
Simple curley brace based element syntax
Support for all body HTML elements
Command line interface
extern crate doccy;
use doccy::doccy_to_html;
fn main() {
match doccy_to_html("your document {em: here}") {
// <p>your document <em>here</em></p>
Ok(html) => println!("{}", html),
Err(error) => {}
};
}
# <p>your document <em>here</em></p>
echo "your document {em: here}" | doccy to-html