Skip to content

Commit

Permalink
Merge pull request #20 from taisukef/fix_rust_basic
Browse files Browse the repository at this point in the history
fix example, rust-basic, add escape
  • Loading branch information
ereslibre authored Oct 25, 2022
2 parents 51e7dcf + c1ab7e9 commit b5e716b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions examples/rust-basic/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ fn handler(req: Request<String>) -> Result<Response<String>> {
<meta charset=\"UTF-8\">
<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/water.css@2/out/water.css\">
<style>
body { max-width: 1000px; }
main { margin: 5rem 0; }
h1, p { text-align: center; }
h1 { margin-bottom: 2rem; }
pre { font-size: .9rem; }
pre > code { padding: 2rem; }
p { margin-top: 2rem; }
body {{ max-width: 1000px; }}
main {{ margin: 5rem 0; }}
h1, p {{ text-align: center; }}
h1 {{ margin-bottom: 2rem; }}
pre {{ font-size: .9rem; }}
pre > code {{ padding: 2rem; }}
p {{ margin-top: 2rem; }}
</style>
</head>
<body>
Expand Down

0 comments on commit b5e716b

Please sign in to comment.