www: use smart quotes (#1502)

This commit is contained in:
Roj
2023-07-22 13:03:03 +02:00
committed by GitHub
parent d1e78095be
commit 95d352d1dd
5 changed files with 12 additions and 5 deletions
+2 -2
View File
@@ -183,7 +183,7 @@
"image": "kadode_portal" "image": "kadode_portal"
}, },
{ {
"title": "Craig's Deno Diary", "title": "Craig’s Deno Diary",
"link": "https://deno-blog.com", "link": "https://deno-blog.com",
"github": "https://github.com/cdoremus/deno-blog", "github": "https://github.com/cdoremus/deno-blog",
"image": "deno-diary" "image": "deno-diary"
@@ -358,7 +358,7 @@
"image": "liberchat" "image": "liberchat"
}, },
{ {
"title": "Do not remove this, it's for preventing conflicts by trailing comma", "title": "Do not remove this, it’s for preventing conflicts by trailing comma",
"link": "", "link": "",
"github": "", "github": "",
"image": "" "image": ""
+3 -1
View File
@@ -13,7 +13,9 @@
"@preact/signals": "https://esm.sh/*@preact/signals@1.1.3", "@preact/signals": "https://esm.sh/*@preact/signals@1.1.3",
"@preact/signals-core": "https://esm.sh/@preact/signals-core@1.2.3", "@preact/signals-core": "https://esm.sh/@preact/signals-core@1.2.3",
"$std/": "https://deno.land/std@0.193.0/", "$std/": "https://deno.land/std@0.193.0/",
"$ga4": "https://raw.githubusercontent.com/denoland/ga4/main/mod.ts" "$ga4": "https://raw.githubusercontent.com/denoland/ga4/main/mod.ts",
"$marked-mangle": "https://esm.sh/marked-mangle@1.0.1",
"$marked-smartypants": "https://esm.sh/marked-smartypants@1.0.1"
}, },
"compilerOptions": { "compilerOptions": {
"jsx": "react-jsx", "jsx": "react-jsx",
+1 -1
View File
@@ -30,6 +30,6 @@ export function ServerCodePage(
export default function PageNotFound() { export default function PageNotFound() {
return ServerCodePage({ return ServerCodePage({
serverCode: 404, serverCode: 404,
codeDescription: "Couldn't find what you're looking for.", codeDescription: "Couldn’t find what you’re looking for.",
}); });
} }
+5
View File
@@ -12,6 +12,11 @@ import {
} from "../../data/docs.ts"; } from "../../data/docs.ts";
import { frontMatter, gfm } from "../../utils/markdown.ts"; import { frontMatter, gfm } from "../../utils/markdown.ts";
import toc from "../../../docs/toc.ts"; import toc from "../../../docs/toc.ts";
import { mangle } from "$marked-mangle";
import { markedSmartypants } from "$marked-smartypants";
gfm.Marked.marked.use(mangle());
gfm.Marked.marked.use(markedSmartypants());
interface Data { interface Data {
page: Page; page: Page;
+1 -1
View File
@@ -34,7 +34,7 @@ export default function ShowcasePage(props: PageProps) {
</h2> </h2>
<p class="text-gray-600"> <p class="text-gray-600">
You can add these stylish badges to your project's README to show You can add these stylish badges to your project’s README to show
that it was built with Fresh. that it was built with Fresh.
</p> </p>