~eliasnaur/gio

README: Add backticks to giowindow div tag v1 APPLIED

Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~eliasnaur/gio/%3C20190804163216.8045-1-larry%40theclapp.org%3E/mbox | git am -3
Learn more about email & git

[PATCH] README: Add backticks to giowindow div tag Export this patch

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>
---
 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md
index f2c4f34..e529d2c 100644
--- a/README.md
+++ b/README.md
@@ -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
-- 
2.22.0
View this thread in the archives