From 1cb0dba351a68777096d854735f9fd740e023434 Mon Sep 17 00:00:00 2001 From: Kelsey Jackson Date: Thu, 14 Nov 2024 02:58:39 -0600 Subject: [PATCH] updated code example --- docs/_includes/base.njk | 2 +- docs/assets/scripts/code-examples.js | 3 +- docs/docs/patterns/news.md | 57 +++++++++++++++++++++------- 3 files changed, 46 insertions(+), 16 deletions(-) diff --git a/docs/_includes/base.njk b/docs/_includes/base.njk index e3bb8508a..fbb51c261 100644 --- a/docs/_includes/base.njk +++ b/docs/_includes/base.njk @@ -1,5 +1,5 @@ - + diff --git a/docs/assets/scripts/code-examples.js b/docs/assets/scripts/code-examples.js index 755e5c110..406dd96ee 100644 --- a/docs/assets/scripts/code-examples.js +++ b/docs/assets/scripts/code-examples.js @@ -19,8 +19,9 @@ document.addEventListener('click', event => { const html = `\n` + `\n\n` + + `\n\n` + `${code.textContent}`; - const css = 'body {\n font: 16px sans-serif;\n padding: 1rem;\n}'; + const css = 'body {\n font: 16px sans-serif;\n padding: 2rem;\n}'; const js = ''; const form = document.createElement('form'); diff --git a/docs/docs/patterns/news.md b/docs/docs/patterns/news.md index d481db6f2..b4cb07f9d 100644 --- a/docs/docs/patterns/news.md +++ b/docs/docs/patterns/news.md @@ -33,7 +33,7 @@ TODO Page Description
- +

Title

Well, the way they make shows is, they make one show. That show's called a pilot.

@@ -41,14 +41,14 @@ TODO Page Description
- +

Normally, both your asses would be dead as fucking fried chicken.

sub-title
- +

Besides, I've already been through too much shit this morning over this case to hand it over to your dumb ass.

@@ -63,28 +63,37 @@ TODO Page Description ## Footer ```html{.example}
``` \ No newline at end of file