mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-10 02:49:40 +02:00
Prettier options
This commit is contained in:
@@ -50,7 +50,14 @@ const transform = (file: string) => {
|
|||||||
)}`;
|
)}`;
|
||||||
verifyAndCopy(
|
verifyAndCopy(
|
||||||
file,
|
file,
|
||||||
prettier.format(transformed, { parser: 'markdown', printWidth: 100, singleQuote: true })
|
prettier.format(transformed, {
|
||||||
|
parser: 'markdown',
|
||||||
|
useTabs: false,
|
||||||
|
tabWidth: 4,
|
||||||
|
endOfLine: 'auto',
|
||||||
|
printWidth: 100,
|
||||||
|
singleQuote: true,
|
||||||
|
})
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user