mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 07:35:40 +00:00
README.md: add backticks to giowindow div tag
Wrap backticks around the "div" tag mentioned in the README, so it looks
like this:
`<div id="giowindow">`
Without the backticks, the markdown renderer renders it as an actual
<div> tag in the output html (without an ID, either).
Signed-off-by: Larry Clapp <larry@theclapp.org>
This commit is contained in:
@@ -113,7 +113,7 @@ Building for tvOS requires (the not yet released) Go 1.13.
|
||||
## Webassembly/WebGL
|
||||
|
||||
To run a Gio program in a browser with WebAssembly and WebGL support, use the Go webassembly
|
||||
driver and add a <div id="giowindow"> element to a HTML page. The gio tool can also output
|
||||
driver and add a `<div id="giowindow">` element to a HTML page. The gio tool can also output
|
||||
a directory ready to view in a browser:
|
||||
|
||||
$ go run gioui.org/cmd/gio -target js gioui.org/apps/gophers
|
||||
|
||||
Reference in New Issue
Block a user