mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-10-09 00:59:37 +02:00
[autofix.ci] apply automated fixes
This commit is contained in:
@@ -602,19 +602,13 @@ gantt
|
||||
|
||||
```mermaid-example
|
||||
---
|
||||
# 'Triple dash' MUST be first to start mermaid frontmatter.
|
||||
# YAML requires consistent indenting
|
||||
# Settings are caseSensitive, silently ignore misspellings; incorrect parameters will break diagram, and inconsistently require strings to be quoted
|
||||
# Reminder to test diagrams online: https://mermaid.live
|
||||
# 'init' and chart 'config' settings belong here.
|
||||
# Frontmatter config, YAML comments
|
||||
title: Ignored if specified in chart
|
||||
displayMode: compact #gantt specific setting but works at this level too
|
||||
config:
|
||||
# yaml style comment
|
||||
# theme: forest
|
||||
# themeCSS: " #item36 { fill: CadetBlue } "
|
||||
themeCSS: " // YAML supports multiline strings using a newline markers: \n
|
||||
// Comment in CSS using slashes \n
|
||||
#item36 { fill: CadetBlue } \n
|
||||
|
||||
// Custom marker workaround CSS from forum (below) \n
|
||||
@@ -627,11 +621,6 @@ gantt
|
||||
topAxis: true #false
|
||||
numberSectionStyles: 2
|
||||
---
|
||||
%% nb: As of 2025, using directives "%%{" here for 'init' not longer supported - use frontmatter (triple-dash) instead.
|
||||
|
||||
%% Comment for Mermaid (double percent + at least a space)
|
||||
%% Script is case insensitive. Indents are completely ignored.
|
||||
%% misspelling or unknown words will break diagrams, while parameters silently fail. Strings shouldn't be quoted and will auto-detect based on expected parameters
|
||||
gantt
|
||||
title Timeline - Gantt Sampler
|
||||
dateFormat YYYY
|
||||
@@ -653,19 +642,13 @@ gantt
|
||||
|
||||
```mermaid
|
||||
---
|
||||
# 'Triple dash' MUST be first to start mermaid frontmatter.
|
||||
# YAML requires consistent indenting
|
||||
# Settings are caseSensitive, silently ignore misspellings; incorrect parameters will break diagram, and inconsistently require strings to be quoted
|
||||
# Reminder to test diagrams online: https://mermaid.live
|
||||
# 'init' and chart 'config' settings belong here.
|
||||
# Frontmatter config, YAML comments
|
||||
title: Ignored if specified in chart
|
||||
displayMode: compact #gantt specific setting but works at this level too
|
||||
config:
|
||||
# yaml style comment
|
||||
# theme: forest
|
||||
# themeCSS: " #item36 { fill: CadetBlue } "
|
||||
themeCSS: " // YAML supports multiline strings using a newline markers: \n
|
||||
// Comment in CSS using slashes \n
|
||||
#item36 { fill: CadetBlue } \n
|
||||
|
||||
// Custom marker workaround CSS from forum (below) \n
|
||||
@@ -678,11 +661,6 @@ gantt
|
||||
topAxis: true #false
|
||||
numberSectionStyles: 2
|
||||
---
|
||||
%% nb: As of 2025, using directives "%%{" here for 'init' not longer supported - use frontmatter (triple-dash) instead.
|
||||
|
||||
%% Comment for Mermaid (double percent + at least a space)
|
||||
%% Script is case insensitive. Indents are completely ignored.
|
||||
%% misspelling or unknown words will break diagrams, while parameters silently fail. Strings shouldn't be quoted and will auto-detect based on expected parameters
|
||||
gantt
|
||||
title Timeline - Gantt Sampler
|
||||
dateFormat YYYY
|
||||
|
Reference in New Issue
Block a user