Join lines broken by newlines to a long line.

Join paragraph lines that are broken by newlines from a long paragraph to a
long line. If the current line is a part of a block area, like pre, code,
blockquote, skip it.
This commit is contained in:
2024-06-29 22:33:43 +08:00
parent 3ed03f0496
commit a8f0a86e07
8 changed files with 65 additions and 10 deletions

View File

@@ -2,11 +2,11 @@
import DefaultLayout from "../layouts/DefaultLayout.astro";
import Nav from "../components/Nav.astro";
import Footer from "../components/Footer.astro";
import ArticleBody from "../components/article/ArticleBody.astro";
import ArticleBodyWrapper from "../components/article/article_body/ArticleBodyWrapper.astro";
---
<DefaultLayout title="李守中">
<Nav />
<ArticleBody collectionName="site" articleSlug="关于本站" />
<ArticleBodyWrapper collectionName="site" articleSlug="关于本站" />
<Footer />
</DefaultLayout>