Editing the Book

  • Having created the book
  • Run ./watch.sh
  • Keep the SUMMARY.md file open in order to add new pages
    • Ctrl + Click will open the editor for a page link
  • If you edit any file under the md folder you should see the book regenerated in the terminal where the watch.sh is running.
    • The message The mdbook-plus preprocessor not running ... can be ignored.
Markdown
  plantuml
@startuml
autonumber "<b>[0]"
skinparam responseMessageBelowArrow true
title Example Sequence Diagram

Thread1 -> Thread2: Blocking Request Thread1 <-- Thread2: Response Thread1 ->> Thread2: Non-Blocking Message Thread1 -> Thread1: Sometimes I talk to myself

note right Maybe something you sent on a channel end note

alt sunny day Thread1 -[#green]>> Thread2: green arrow else it rained loop 1000 times Thread1 -[#blue]>> Thread2: blue arrow end else it snowed Thread1 ->> Thread2: //snowing italics// end

@enduml

Generated Image
mdbook-plantuml-img/da8e5b7d0b16807be040183de4deeaef07157017.svg

mdbook-plantuml-img/ee6f582f07d6a197e3e892b430b9e33c6bd5b332.svg

Supporting Diagrams

Plantuml is used to generate supporting diagrams. Using mdbook-plantuml postprocessor we can use markdown to represent the diagrams and a corresponding image file will be generated upon book generation.

mdbook-plantuml-img/4ea434013d02a291a36350844a16c88ea653a815.svg

Book Layout

mdbook-plantuml-img/c968f5234ec8682e38c84ce4e5262aa33a0c5453.svg

mdbook-plantuml-img/860f0c11d3772e2294117f8760dc0346cd79875f.svg

mdbook-plantuml-img/7e85c6a26c72b7c6ff081e7e7511e3b32f47785a.svg