From 6a87a3558906c21cd19d1d5305ca4e2f03f1d0a3 Mon Sep 17 00:00:00 2001 From: Dean Brettle Date: Sun, 17 Nov 2024 10:08:00 -0800 Subject: [PATCH 1/9] Attempt to fix hiding of attribute described in markdown. --- src/pages/guides/getting-started/going-further.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/guides/getting-started/going-further.md b/src/pages/guides/getting-started/going-further.md index 932f31d..85dcb2f 100644 --- a/src/pages/guides/getting-started/going-further.md +++ b/src/pages/guides/getting-started/going-further.md @@ -37,7 +37,7 @@ Now if we look in the HTML output for any of our pages, we will see pre-rendered ``` -We can go one step further and instruct Greenwood to strip out the ` From ee39174beacdd58c8b48602306215808a3f90a31 Mon Sep 17 00:00:00 2001 From: Dean Brettle Date: Sun, 17 Nov 2024 10:45:09 -0800 Subject: [PATCH 2/9] Revert to normal double quotes. --- src/pages/guides/getting-started/going-further.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/guides/getting-started/going-further.md b/src/pages/guides/getting-started/going-further.md index 85dcb2f..932f31d 100644 --- a/src/pages/guides/getting-started/going-further.md +++ b/src/pages/guides/getting-started/going-further.md @@ -37,7 +37,7 @@ Now if we look in the HTML output for any of our pages, we will see pre-rendered ``` -We can go one step further and instruct Greenwood to strip out the ` From 49920ec1b403eb395aa55b0a69dfa7e727522935 Mon Sep 17 00:00:00 2001 From: Dean Brettle Date: Sun, 17 Nov 2024 10:46:01 -0800 Subject: [PATCH 3/9] Try removing remark-github plugin. --- greenwood.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/greenwood.config.js b/greenwood.config.js index 00a865c..5b28347 100644 --- a/greenwood.config.js +++ b/greenwood.config.js @@ -41,7 +41,7 @@ export default { // would be nice if we could customize these plugins, like appending the autolink headings // https://github.com/ProjectEvergreen/greenwood/issues/1247 markdown: { - plugins: ["@mapbox/rehype-prism", "rehype-slug", "rehype-autolink-headings", "remark-github"], + plugins: ["@mapbox/rehype-prism", "rehype-slug", "rehype-autolink-headings"], }, plugins: [ From ed7ed3414296a96a22ca9fc4acc765f04fb97152 Mon Sep 17 00:00:00 2001 From: Dean Brettle Date: Sun, 17 Nov 2024 10:49:44 -0800 Subject: [PATCH 4/9] Try removing rehype-prism plugin instead. --- greenwood.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/greenwood.config.js b/greenwood.config.js index 5b28347..8ca6032 100644 --- a/greenwood.config.js +++ b/greenwood.config.js @@ -41,7 +41,7 @@ export default { // would be nice if we could customize these plugins, like appending the autolink headings // https://github.com/ProjectEvergreen/greenwood/issues/1247 markdown: { - plugins: ["@mapbox/rehype-prism", "rehype-slug", "rehype-autolink-headings"], + plugins: ["rehype-slug", "rehype-autolink-headings", "remark-github"], }, plugins: [ From 1c6f6b2bbfd5f58719cea2899a694f4716107a3b Mon Sep 17 00:00:00 2001 From: Dean Brettle Date: Sun, 17 Nov 2024 10:53:47 -0800 Subject: [PATCH 5/9] Try removing rehype-slug and rehype-autolink-headings instead. --- greenwood.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/greenwood.config.js b/greenwood.config.js index 8ca6032..47f0aa5 100644 --- a/greenwood.config.js +++ b/greenwood.config.js @@ -41,7 +41,7 @@ export default { // would be nice if we could customize these plugins, like appending the autolink headings // https://github.com/ProjectEvergreen/greenwood/issues/1247 markdown: { - plugins: ["rehype-slug", "rehype-autolink-headings", "remark-github"], + plugins: ["@mapbox/rehype-prism", "remark-github"], }, plugins: [ From 506f29485d9c10389555742a655781f90358f330 Mon Sep 17 00:00:00 2001 From: Dean Brettle Date: Sun, 17 Nov 2024 10:56:44 -0800 Subject: [PATCH 6/9] Try removing all markdown plugins. --- greenwood.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/greenwood.config.js b/greenwood.config.js index 47f0aa5..a86e4c2 100644 --- a/greenwood.config.js +++ b/greenwood.config.js @@ -41,7 +41,7 @@ export default { // would be nice if we could customize these plugins, like appending the autolink headings // https://github.com/ProjectEvergreen/greenwood/issues/1247 markdown: { - plugins: ["@mapbox/rehype-prism", "remark-github"], + plugins: [], }, plugins: [ From cce0caff7d3a30d5fabb981246d12d41eff1c43d Mon Sep 17 00:00:00 2001 From: Dean Brettle Date: Sun, 17 Nov 2024 10:59:04 -0800 Subject: [PATCH 7/9] Restore all plugins because they were not the cause. --- greenwood.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/greenwood.config.js b/greenwood.config.js index a86e4c2..00a865c 100644 --- a/greenwood.config.js +++ b/greenwood.config.js @@ -41,7 +41,7 @@ export default { // would be nice if we could customize these plugins, like appending the autolink headings // https://github.com/ProjectEvergreen/greenwood/issues/1247 markdown: { - plugins: [], + plugins: ["@mapbox/rehype-prism", "rehype-slug", "rehype-autolink-headings", "remark-github"], }, plugins: [ From f006fd4f4dc0a0b25c43261078246258791dee01 Mon Sep 17 00:00:00 2001 From: Dean Brettle Date: Sun, 17 Nov 2024 11:42:59 -0800 Subject: [PATCH 8/9] Eliminate quotes to see if they are the problem. --- src/pages/guides/getting-started/going-further.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/guides/getting-started/going-further.md b/src/pages/guides/getting-started/going-further.md index 932f31d..ff68b51 100644 --- a/src/pages/guides/getting-started/going-further.md +++ b/src/pages/guides/getting-started/going-further.md @@ -37,7 +37,7 @@ Now if we look in the HTML output for any of our pages, we will see pre-rendered ``` -We can go one step further and instruct Greenwood to strip out the ` From c3c20c2e7b9b8d327a7391274c9c3b01aad92977 Mon Sep 17 00:00:00 2001 From: Dean Brettle Date: Mon, 18 Nov 2024 11:50:20 -0800 Subject: [PATCH 9/9] Use single quotes. --- src/pages/guides/getting-started/going-further.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/guides/getting-started/going-further.md b/src/pages/guides/getting-started/going-further.md index ff68b51..7952c51 100644 --- a/src/pages/guides/getting-started/going-further.md +++ b/src/pages/guides/getting-started/going-further.md @@ -37,7 +37,7 @@ Now if we look in the HTML output for any of our pages, we will see pre-rendered ``` -We can go one step further and instruct Greenwood to strip out the `