mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-12 08:37:25 +02:00
chore(v2): fix code style (revert previous changes)
This commit is contained in:
parent
1480a7eb80
commit
1f00d15c74
143 changed files with 457 additions and 458 deletions
|
@ -10,7 +10,7 @@ import {resolve} from 'url';
|
|||
import {getSubFolder} from '@docusaurus/utils';
|
||||
import {SourceToPermalink} from '../types';
|
||||
|
||||
export default function(
|
||||
export default function (
|
||||
fileString: string,
|
||||
filePath: string,
|
||||
docsDir: string,
|
||||
|
@ -36,7 +36,7 @@ export default function(
|
|||
// Replace internal markdown linking (except in fenced blocks).
|
||||
if (sourceDir) {
|
||||
let fencedBlock = false;
|
||||
const lines = content.split('\n').map(line => {
|
||||
const lines = content.split('\n').map((line) => {
|
||||
if (line.trim().startsWith('```')) {
|
||||
fencedBlock = !fencedBlock;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue