mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-11 16:17:25 +02:00
fix(v2): remove Markdown syntax from excerpt (#2701)
* fix(v2): remove Markdown syntax from excerpt * Update snapshots * Use Remark * Switch to own solution
This commit is contained in:
parent
c7baa125e6
commit
da0f865831
4 changed files with 112 additions and 20 deletions
|
@ -303,7 +303,7 @@ describe('versioned website', () => {
|
|||
permalink: '/docs/next/foo/bar',
|
||||
source: path.join('@site', routeBasePath, 'foo', 'bar.md'),
|
||||
title: 'bar',
|
||||
description: 'This is `next` version of bar.',
|
||||
description: 'This is next version of bar.',
|
||||
version: 'next',
|
||||
sidebar: 'docs',
|
||||
next: {
|
||||
|
@ -316,7 +316,7 @@ describe('versioned website', () => {
|
|||
permalink: '/docs/next/hello',
|
||||
source: path.join('@site', routeBasePath, 'hello.md'),
|
||||
title: 'hello',
|
||||
description: 'Hello `next` !',
|
||||
description: 'Hello next !',
|
||||
version: 'next',
|
||||
sidebar: 'docs',
|
||||
previous: {
|
||||
|
@ -334,7 +334,7 @@ describe('versioned website', () => {
|
|||
'hello.md',
|
||||
),
|
||||
title: 'hello',
|
||||
description: 'Hello `1.0.1` !',
|
||||
description: 'Hello 1.0.1 !',
|
||||
version: '1.0.1',
|
||||
sidebar: 'version-1.0.1/docs',
|
||||
previous: {
|
||||
|
@ -354,7 +354,7 @@ describe('versioned website', () => {
|
|||
),
|
||||
title: 'baz',
|
||||
description:
|
||||
'Baz `1.0.0` ! This will be deleted in next subsequent versions.',
|
||||
'Baz 1.0.0 ! This will be deleted in next subsequent versions.',
|
||||
version: '1.0.0',
|
||||
sidebar: 'version-1.0.0/docs',
|
||||
next: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue