+
{page.name}
diff --git a/app/components/Markdown.tsx b/app/components/Markdown.tsx
index a4f48a3..8ab9d00 100644
--- a/app/components/Markdown.tsx
+++ b/app/components/Markdown.tsx
@@ -44,7 +44,7 @@ export default function Markdown({ content, sourcePath }: MarkdownProps) {
elements.push(
-
+
{title}
{processedContent}
;
+ // Long inline code, URLs and identifiers would otherwise push the article wider than a phone
+ return
{processedContent}
;
}
function getMarkdownComponents(sourcePath: string) {
@@ -69,7 +70,7 @@ function getMarkdownComponents(sourcePath: string) {
// H1 headings (main page title from Markdown content)
h1: ({ children, ...props }: any) => (
<>
-
+
{children}
diff --git a/app/docs/[section]/[[...slug]]/page.tsx b/app/docs/[section]/[[...slug]]/page.tsx
index 1e91f6d..f2318a9 100644
--- a/app/docs/[section]/[[...slug]]/page.tsx
+++ b/app/docs/[section]/[[...slug]]/page.tsx
@@ -229,7 +229,7 @@ export default async function ArticlePage({ params }: PageProps) {
{/* Coming Soon Component for coming-soon layout */}
{showComingSoonHeading && (
-
+
{pageTitle}
)}
@@ -262,8 +262,9 @@ export default async function ArticlePage({ params }: PageProps) {