diff --git a/components/content/src/page.rs b/components/content/src/page.rs index 26ebbf2b..b6ca3f70 100644 --- a/components/content/src/page.rs +++ b/components/content/src/page.rs @@ -170,7 +170,7 @@ impl Page { permalinks, anchor_insert ); - let res = markdown_to_html(&self.raw_content, &context)?; + let res = markdown_to_html(&self.raw_content.replacen("", "", 1), &context)?; self.content = res.0; self.toc = res.1; if self.raw_content.contains("") { diff --git a/docs/content/documentation/content/page.md b/docs/content/documentation/content/page.md index 1a8b7707..78010e56 100644 --- a/docs/content/documentation/content/page.md +++ b/docs/content/documentation/content/page.md @@ -77,3 +77,7 @@ paragraph of each page in a list for example. To do so, add `` in your content at the point where you want the summary to end and the content up to that point will be also available separately in the [template](./documentation/templates/pages-sections.md#page-variables). + +An anchor link to this position is created so you can link directly to it if needed +for example: +`Continue Reading`