1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
//! `present` is a simple tool that lets you interpolate the standard output of
//! arbitrary scripts that get interpreted by the shell into your markdown
//! documents.
//!
//! With `present`, you can create a `File` struct by pointing it to a path.
//! This will parse all codeblocks with the `present` prefix, and add them as
//! commands to the struct. From there, you can present the file by using the
//! `File::present` function, which will modify the internal content. From
//! there, you can use the `File::print` or `File::save` functions to print the
//! presented document to stdout or save it back to the original file.
//!
//! ```rust
//! use std::path::PathBuf;
//!
//! let mut file = present::File::new(PathBuf::from("README.md")).unwrap();
//! file.present().unwrap();
//! file.save();
//! ```
// Publicly exposed
pub use crate::;
// Public only to crate
pub use crate::;
/// Present's internal result type
pub type Result<T = , E = Error> = Result;
// Test README
;