mdbook-permalinks 2.0.0

Generate permalinks in mdBook using paths
---
source: crates/mdbook-permalinks/src/tests.rs
expression: report
---
  info: link converted to permalink
    ╭─[crates/mdbook-permalinks/src/tests/paths.md:3:1]
    │ 
    │ [](../../../../Cargo.toml)
    · ─────────────┬────────────
    ·              ╰── https://example.org/git/tree/v0.0/Cargo.toml
    │ 
    │ [](../../../../docs/src/permalinks/index.md)
    · ──────────────────────┬─────────────────────
    ·                       ╰── https://example.org/git/tree/v0.0/docs/src/permalinks/index.md
    │ 
    │ # absolute paths
    │ 
    │ [](/LICENSE-APACHE.md)
    · ───────────┬──────────
    ·            ╰── https://example.org/git/tree/v0.0/LICENSE-APACHE.md
    │ 
    │ [](/crates/mdbook-permalinks/Cargo.toml)
    · ────────────────────┬───────────────────
    ·                     ╰── https://example.org/git/tree/v0.0/crates/mdbook-permalinks/Cargo.toml
    │ 
    ╰────
    ╭─[crates/mdbook-permalinks/src/tests/paths.md:23:1]
    │ 
    │ ![](/docs/src/media/social.webp)
    · ────────────────┬───────────────
    ·                 ╰── https://example.org/git/raw/v0.0/docs/src/media/social.webp
    │ 
    │ [![Social image][social-image]][social-image]
    · ──────────────────────┬──────────────────────┬
    ·                       │                      ╰── https://example.org/git/raw/v0.0/docs/src/media/social.webp
    ·                       ╰── https://example.org/git/tree/v0.0/docs/src/media/social.webp
    │ 
    │ [social-image]: /docs/src/media/social.webp
    │ 
    │ [![MIT/Apache-2.0 licensed](https://img.shields.io/crates/l/mdbookkit?style=flat-square)](/LICENSE-APACHE.md)
    · ──────────────────────────────────────────────────────┬──────────────────────────────────────────────────────
    ·                                                       ╰── https://example.org/git/tree/v0.0/LICENSE-APACHE.md
    │ 
    │ # not found
    │ 
    │ [](../../Cargo.lock)
    │ 
    │ [](//LICENSE-MIT.md)
    │ 
    │ ![](shinjuku.jpg)
    │ 
    │ [](draft.md)
    · ──────┬─────
    ·       ╰── https://example.org/git/tree/v0.0/crates/mdbook-permalinks/src/tests/draft.md
    │ 
    ╰────

  info: link converted to permalink
   ╭─[crates/mdbook-permalinks/src/tests/suffix.md:1:1]
   │ [](/docs/book.toml?branch=default)
   · ─────────────────┬────────────────
   ·                  ╰── https://example.org/git/tree/v0.0/docs/book.toml?branch=default
   │ 
   │ [](/docs/book.toml#L40-44)
   · ─────────────┬────────────
   ·              ╰── https://example.org/git/tree/v0.0/docs/book.toml#L40-44
   │ 
   │ [](/docs/book.toml?/#/L40-44)
   · ──────────────┬──────────────
   ·               ╰── https://example.org/git/tree/v0.0/docs/book.toml?/#/L40-44
   ╰────

  info: link converted to permalink
    ╭─[crates/mdbook-permalinks/src/tests/urls.md:15:1]
    │ 
    │ [](https://example.org/git/tree/HEAD/LICENSE-APACHE.md)
    · ───────────────────────────┬───────────────────────────
    ·                            ╰── https://example.org/git/tree/v0.0/LICENSE-APACHE.md
    │ 
    │ [](https://example.org/git/tree/HEAD/Cargo.toml#L8-9)
    · ──────────────────────────┬──────────────────────────
    ·                           ╰── https://example.org/git/tree/v0.0/Cargo.toml#L8-9
    │ 
    │ ![](https://example.org/git/raw/HEAD/crates/mdbook-permalinks/src/tests/Minato_City,_Tokyo,_Japan.jpg)
    · ───────────────────────────────────────────────────┬──────────────────────────────────────────────────
    ·                                                    ╰── https://example.org/git/raw/v0.0/crates/mdbook-permalinks/src/tests/Minato_City,_Tokyo,_Japan.jpg
    │ 
    ╰────