mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-02 23:26:44 +02:00
docs: Fix config
This commit is contained in:
@@ -923,53 +923,69 @@ Commits in Mermaid display temporal information in gitgraph by default. For exam
|
|||||||
### Temporal Commits (default, `parallelCommits: false`)
|
### Temporal Commits (default, `parallelCommits: false`)
|
||||||
|
|
||||||
```mermaid-example
|
```mermaid-example
|
||||||
%%{init: { 'logLevel': 'debug', 'theme': 'base', 'gitGraph': {'parallelCommits': false}} }%%
|
---
|
||||||
gitGraph:
|
config:
|
||||||
commit
|
gitGraph:
|
||||||
branch develop
|
parallelCommits: false
|
||||||
commit
|
---
|
||||||
commit
|
gitGraph:
|
||||||
checkout main
|
commit
|
||||||
commit
|
branch develop
|
||||||
commit
|
commit
|
||||||
|
commit
|
||||||
|
checkout main
|
||||||
|
commit
|
||||||
|
commit
|
||||||
```
|
```
|
||||||
|
|
||||||
```mermaid
|
```mermaid
|
||||||
%%{init: { 'logLevel': 'debug', 'theme': 'base', 'gitGraph': {'parallelCommits': false}} }%%
|
---
|
||||||
gitGraph:
|
config:
|
||||||
commit
|
gitGraph:
|
||||||
branch develop
|
parallelCommits: false
|
||||||
commit
|
---
|
||||||
commit
|
gitGraph:
|
||||||
checkout main
|
commit
|
||||||
commit
|
branch develop
|
||||||
commit
|
commit
|
||||||
|
commit
|
||||||
|
checkout main
|
||||||
|
commit
|
||||||
|
commit
|
||||||
```
|
```
|
||||||
|
|
||||||
### Parallel commits (`parallelCommits: true`)
|
### Parallel commits (`parallelCommits: true`)
|
||||||
|
|
||||||
```mermaid-example
|
```mermaid-example
|
||||||
%%{init: { 'logLevel': 'debug', 'theme': 'base', 'gitGraph': {'parallelCommits': true}} }%%
|
---
|
||||||
gitGraph:
|
config:
|
||||||
commit
|
gitGraph:
|
||||||
branch develop
|
parallelCommits: true
|
||||||
commit
|
---
|
||||||
commit
|
gitGraph:
|
||||||
checkout main
|
commit
|
||||||
commit
|
branch develop
|
||||||
commit
|
commit
|
||||||
|
commit
|
||||||
|
checkout main
|
||||||
|
commit
|
||||||
|
commit
|
||||||
```
|
```
|
||||||
|
|
||||||
```mermaid
|
```mermaid
|
||||||
%%{init: { 'logLevel': 'debug', 'theme': 'base', 'gitGraph': {'parallelCommits': true}} }%%
|
---
|
||||||
gitGraph:
|
config:
|
||||||
commit
|
gitGraph:
|
||||||
branch develop
|
parallelCommits: true
|
||||||
commit
|
---
|
||||||
commit
|
gitGraph:
|
||||||
checkout main
|
commit
|
||||||
commit
|
branch develop
|
||||||
commit
|
commit
|
||||||
|
commit
|
||||||
|
checkout main
|
||||||
|
commit
|
||||||
|
commit
|
||||||
```
|
```
|
||||||
|
|
||||||
## Themes
|
## Themes
|
||||||
|
@@ -576,29 +576,37 @@ Commits in Mermaid display temporal information in gitgraph by default. For exam
|
|||||||
### Temporal Commits (default, `parallelCommits: false`)
|
### Temporal Commits (default, `parallelCommits: false`)
|
||||||
|
|
||||||
```mermaid-example
|
```mermaid-example
|
||||||
%%{init: { 'logLevel': 'debug', 'theme': 'base', 'gitGraph': {'parallelCommits': false}} }%%
|
---
|
||||||
gitGraph:
|
config:
|
||||||
commit
|
gitGraph:
|
||||||
branch develop
|
parallelCommits: false
|
||||||
commit
|
---
|
||||||
commit
|
gitGraph:
|
||||||
checkout main
|
commit
|
||||||
commit
|
branch develop
|
||||||
commit
|
commit
|
||||||
|
commit
|
||||||
|
checkout main
|
||||||
|
commit
|
||||||
|
commit
|
||||||
```
|
```
|
||||||
|
|
||||||
### Parallel commits (`parallelCommits: true`)
|
### Parallel commits (`parallelCommits: true`)
|
||||||
|
|
||||||
```mermaid-example
|
```mermaid-example
|
||||||
%%{init: { 'logLevel': 'debug', 'theme': 'base', 'gitGraph': {'parallelCommits': true}} }%%
|
---
|
||||||
gitGraph:
|
config:
|
||||||
commit
|
gitGraph:
|
||||||
branch develop
|
parallelCommits: true
|
||||||
commit
|
---
|
||||||
commit
|
gitGraph:
|
||||||
checkout main
|
commit
|
||||||
commit
|
branch develop
|
||||||
commit
|
commit
|
||||||
|
commit
|
||||||
|
checkout main
|
||||||
|
commit
|
||||||
|
commit
|
||||||
```
|
```
|
||||||
|
|
||||||
## Themes
|
## Themes
|
||||||
|
Reference in New Issue
Block a user