/ libs / mdbook-macro / README.md
README.md
 1  # mdbook-macro
 2  
 3  Compiles mdbooks with proc-macros and exposes their internals with TYPE SAFETY.
 4  
 5  Whaaaaaaaat???
 6  
 7  Crazy.
 8  
 9  ```rust
10  mdbook_router! {"../example-book"}
11  ```
12  
13  Integrates with the dioxus-router to create a router from a mdbook.
14  
15  
16  ## Todo:
17  
18  - Incrementally recompile the mdbook as its contents change
19  - Integrate with the `hot-reload` crate to allow live-editable dioxus websites that include mdbooks.