mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-01 03:14:10 +01:00
additional updates
This commit is contained in:
22
docs/config/setup/interfaces/mermaid.ParseOptions.md
Normal file
22
docs/config/setup/interfaces/mermaid.ParseOptions.md
Normal file
@@ -0,0 +1,22 @@
|
||||
> **Warning**
|
||||
>
|
||||
> ## THIS IS AN AUTOGENERATED FILE. DO NOT EDIT.
|
||||
>
|
||||
> ## Please edit the corresponding file in [/packages/mermaid/src/docs/config/setup/interfaces/mermaid.ParseOptions.md](../../../../packages/mermaid/src/docs/config/setup/interfaces/mermaid.ParseOptions.md).
|
||||
|
||||
# Interface: ParseOptions
|
||||
|
||||
[mermaid](../modules/mermaid.md).ParseOptions
|
||||
|
||||
## Properties
|
||||
|
||||
### suppressErrors
|
||||
|
||||
• `Optional` **suppressErrors**: `boolean`
|
||||
|
||||
If `true`, parse will return `false` instead of throwing error when the diagram is invalid.
|
||||
The `parseError` function will not be called.
|
||||
|
||||
#### Defined in
|
||||
|
||||
[packages/mermaid/src/types.ts:59](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/types.ts#L59)
|
||||
@@ -28,7 +28,7 @@ const allTaglines: { [key: string]: { design: number; taglines: Taglines[] } } =
|
||||
},
|
||||
],
|
||||
},
|
||||
B: {
|
||||
B: {
|
||||
design: 2,
|
||||
taglines: [
|
||||
{
|
||||
@@ -49,7 +49,7 @@ B: {
|
||||
},
|
||||
],
|
||||
},
|
||||
C: {
|
||||
C: {
|
||||
design: 1,
|
||||
taglines: [
|
||||
{
|
||||
@@ -70,7 +70,7 @@ C: {
|
||||
},
|
||||
],
|
||||
},
|
||||
D: {
|
||||
D: {
|
||||
design: 2,
|
||||
taglines: [
|
||||
{
|
||||
@@ -89,6 +89,8 @@ D: {
|
||||
label: 'Explore the Mermaid Whiteboard from the creators of Mermaid',
|
||||
url: 'https://www.mermaidchart.com/whiteboard?utm_source=mermaid_js&utm_medium=banner_ad&utm_campaign=whiteboard_B',
|
||||
},
|
||||
],
|
||||
},
|
||||
};
|
||||
|
||||
const { design, taglines } =
|
||||
@@ -104,7 +106,7 @@ onMounted(() => {
|
||||
|
||||
<template>
|
||||
<div
|
||||
:class="[design === 1 ? 'bg-gradient-to-r from-[#bd34fe] to-[#ff3670] ' : 'bg-[#2E2183]']"
|
||||
:class="[design === 1 ? 'bg-gradient-to-r from-[#bd34fe] to-[#ff3670] ' : 'bg-[#E0095F]']"
|
||||
class="mb-4 w-full top-bar flex p-2"
|
||||
>
|
||||
<p class="w-full tracking-wide fade-text">
|
||||
@@ -116,10 +118,7 @@ onMounted(() => {
|
||||
class="unstyled flex justify-center items-center gap-4 text-white tracking-wide plausible-event-name=bannerClick"
|
||||
>
|
||||
<span class="font-semibold">{{ taglines[index].label }}</span>
|
||||
<button
|
||||
:class="[design === 1 ? 'bg-[#2E2183]' : 'bg-[#E0095F]']"
|
||||
class="rounded-lg p-1.5 px-4 font-semibold tracking-wide"
|
||||
>
|
||||
<button class="bg-[#1E1A2E] rounded-lg p-1.5 px-4 font-semibold tracking-wide">
|
||||
Try now
|
||||
</button>
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user