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.
19 lines
421 B
Plaintext
19 lines
421 B
Plaintext
---
|
|
import type { CollectionKey } from "astro:content";
|
|
import ArticleBody from "./ArticleBody.astro";
|
|
import ArticleBodyContent from "./ArticleBodyContent.astro";
|
|
|
|
interface Props {
|
|
articleSlug: string;
|
|
collectionName: CollectionKey;
|
|
}
|
|
const { articleSlug, collectionName } = Astro.props;
|
|
---
|
|
|
|
<ArticleBody>
|
|
<ArticleBodyContent
|
|
collectionName={collectionName}
|
|
articleSlug={articleSlug}
|
|
/>
|
|
</ArticleBody>
|