diff --git a/README.md b/README.md index b5f00dfb8e8..22ef8644141 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ an SDK for visualizing streams of multimodal data. --- -👉 [Click to run the web demo](https://www.egui.rs/#demo) 👈 +👉 [Click to run the web demo](https://www.egui.rs/#Demo) 👈 egui (pronounced "e-gooey") is a simple, fast, and highly portable immediate mode GUI library for Rust. egui runs on the web, natively, and [in your favorite game engine](#integrations). @@ -68,7 +68,7 @@ ui.image(egui::include_image!("ferris.png")); ## Quick start -There are simple examples in [the `examples/` folder](https://github.com/emilk/egui/blob/master/examples/). If you want to write a web app, then go to and follow the instructions. The official docs are at . For inspiration and more examples, check out the [the egui web demo](https://www.egui.rs/#demo) and follow the links in it to its source code. +There are simple examples in [the `examples/` folder](https://github.com/emilk/egui/blob/master/examples/). If you want to write a web app, then go to and follow the instructions. The official docs are at . For inspiration and more examples, check out the [the egui web demo](https://www.egui.rs/#Demo) and follow the links in it to its source code. If you want to integrate egui into an existing engine, go to the [Integrations](#integrations) section. @@ -76,7 +76,7 @@ If you have questions, use [GitHub Discussions](https://github.com/emilk/egui/di ## Demo -[Click to run egui web demo](https://www.egui.rs/#demo) (works in any browser with Wasm and WebGL support). Uses [`eframe`](https://github.com/emilk/egui/tree/master/crates/eframe). +[Click to run egui web demo](https://www.egui.rs/#Demo) (works in any browser with Wasm and WebGL support). Uses [`eframe`](https://github.com/emilk/egui/tree/master/crates/eframe). To test the demo app locally, run `cargo run --release -p egui_demo_app`. @@ -301,7 +301,7 @@ If you call `.await` in your GUI code, the UI will freeze, which is very bad UX. The async version of [rfd](https://docs.rs/rfd/latest/rfd/) supports both native and Wasm. See example app here https://github.com/woelper/egui_pick_file which also has a demo available via [gitub pages](https://woelper.github.io/egui_pick_file/). ### What about accessibility, such as screen readers? -egui includes optional support for [AccessKit](https://accesskit.dev/), which currently implements the native accessibility APIs on Windows and macOS. This feature is enabled by default in eframe. For platforms that AccessKit doesn't yet support, including web, there is an experimental built-in screen reader; in [the web demo](https://www.egui.rs/#demo) you can enable it in the "Backend" tab. +egui includes optional support for [AccessKit](https://accesskit.dev/), which currently implements the native accessibility APIs on Windows and macOS. This feature is enabled by default in eframe. For platforms that AccessKit doesn't yet support, including web, there is an experimental built-in screen reader; in [the web demo](https://www.egui.rs/#Demo) you can enable it in the "Backend" tab. The original discussion of accessibility in egui is at . Now that AccessKit support is merged, providing a strong foundation for future accessibility work, please open new issues on specific accessibility problems. diff --git a/crates/egui/examples/README.md b/crates/egui/examples/README.md index e4d19c83d24..54328862a84 100644 --- a/crates/egui/examples/README.md +++ b/crates/egui/examples/README.md @@ -2,6 +2,6 @@ There are no stand-alone egui examples, because egui is not stand-alone! See the top-level [examples](https://github.com/emilk/egui/tree/master/examples/) folder instead. -There are also plenty of examples in [the online demo](https://www.egui.rs/#demo). You can find the source code for it at . +There are also plenty of examples in [the online demo](https://www.egui.rs/#Demo). You can find the source code for it at . To learn how to set up `eframe` for web and native, go to and follow the instructions there! diff --git a/crates/egui/src/lib.rs b/crates/egui/src/lib.rs index 79784c984a7..5e3c8e5b329 100644 --- a/crates/egui/src/lib.rs +++ b/crates/egui/src/lib.rs @@ -1,6 +1,6 @@ //! `egui`: an easy-to-use GUI in pure Rust! //! -//! Try the live web demo: . Read more about egui at . +//! Try the live web demo: . Read more about egui at . //! //! `egui` is in heavy development, with each new version having breaking changes. //! You need to have rust 1.77.0 or later to use `egui`. @@ -18,7 +18,7 @@ //! //! # Using egui //! -//! To see what is possible to build with egui you can check out the online demo at . +//! To see what is possible to build with egui you can check out the online demo at . //! //! If you like the "learning by doing" approach, clone and get started using egui right away. //! @@ -591,7 +591,7 @@ pub(crate) const MINUS_CHAR_STR: &str = "−"; /// /// NOTE: In egui all emojis are monochrome! /// -/// You can explore them all in the Font Book in [the online demo](https://www.egui.rs/#demo). +/// You can explore them all in the Font Book in [the online demo](https://www.egui.rs/#Demo). /// /// In addition, egui supports a few special emojis that are not part of the unicode standard. /// This module contains some of them: diff --git a/web_demo/example.html b/web_demo/example.html index 9caf23dbbd9..8397eae474d 100644 --- a/web_demo/example.html +++ b/web_demo/example.html @@ -3,7 +3,7 @@ - +