fix image in README.md

This commit is contained in:
Jakku Sakura 2024-04-05 18:16:21 +08:00 committed by GitHub
parent 97766e8d90
commit 1de5db5716
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 15 deletions

View File

@ -159,25 +159,16 @@ fn pretend_this_is_main() -> Result<()> {
And this is the output you'll get if you run this program:
<img src="https://raw.githubusercontent.com/zkat/miette/main/images/single-line-example.png" alt="
Narratable printout:
\
diagnostic error code: oops::my::bad (link)
Error: oops!
\
Begin snippet for bad_file.rs starting
at line 2, column 3
<img src="https://raw.githubusercontent.com/zkat/miette/main/images/single-line-example.png" alt="Narratable printout:
diagnostic error code: oops::my::bad (link) Error: oops!
\
Begin snippet for bad_file.rs starting at line 2, column 3
snippet line 1: source
\
snippet line 2: text
highlight starting at line 1, column 3: This bit here
\
snippet line 2: text highlight starting at line 1, column 3: This bit here
snippet line 3: here
\
diagnostic help: try doing it better next time?">
diagnostic help: try doing it better next time?"
/>
### Using