mirror of
https://github.com/welpo/tabi.git
synced 2025-12-14 11:48:45 +01:00
💄 style(blog): adjust indentation for mermaid diagram
- update indentation to improve readability of the class diagram in the blog post
This commit is contained in:
parent
a3944486ee
commit
ce5577154e
1 changed files with 23 additions and 23 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
+++
|
+++
|
||||||
title = "Custom shortcodes"
|
title = "Custom shortcodes"
|
||||||
date = 2023-02-19
|
date = 2023-02-19
|
||||||
updated = 2025-02-21
|
updated = 2025-03-19
|
||||||
description = "This theme includes some useful custom shortcodes that you can use to enhance your posts. Whether you want to display images that adapt to light and dark themes, or format a professional-looking reference section, these custom shortcodes have got you covered."
|
description = "This theme includes some useful custom shortcodes that you can use to enhance your posts. Whether you want to display images that adapt to light and dark themes, or format a professional-looking reference section, these custom shortcodes have got you covered."
|
||||||
|
|
||||||
[taxonomies]
|
[taxonomies]
|
||||||
|
|
@ -60,28 +60,28 @@ The diagram will be rendered as follows:
|
||||||
|
|
||||||
{% mermaid() %}
|
{% mermaid() %}
|
||||||
classDiagram
|
classDiagram
|
||||||
class CognitiveDistortions {
|
class CognitiveDistortions {
|
||||||
+AllOrNothingThinking()
|
+AllOrNothingThinking()
|
||||||
+Overgeneralization()
|
+Overgeneralization()
|
||||||
+MentalFilter()
|
+MentalFilter()
|
||||||
+JumpingToConclusions()
|
+JumpingToConclusions()
|
||||||
}
|
}
|
||||||
class AllOrNothingThinking {
|
class AllOrNothingThinking {
|
||||||
+SeeInExtremes()
|
+SeeInExtremes()
|
||||||
}
|
}
|
||||||
class Overgeneralization {
|
class Overgeneralization {
|
||||||
+GeneralizeFromSingle()
|
+GeneralizeFromSingle()
|
||||||
}
|
}
|
||||||
class MentalFilter {
|
class MentalFilter {
|
||||||
+FocusOnNegative()
|
+FocusOnNegative()
|
||||||
}
|
}
|
||||||
class JumpingToConclusions {
|
class JumpingToConclusions {
|
||||||
+MakeAssumptions()
|
+MakeAssumptions()
|
||||||
}
|
}
|
||||||
CognitiveDistortions *-- AllOrNothingThinking
|
CognitiveDistortions *-- AllOrNothingThinking
|
||||||
CognitiveDistortions*-- Overgeneralization
|
CognitiveDistortions*-- Overgeneralization
|
||||||
CognitiveDistortions *-- MentalFilter
|
CognitiveDistortions *-- MentalFilter
|
||||||
CognitiveDistortions*-- JumpingToConclusions
|
CognitiveDistortions*-- JumpingToConclusions
|
||||||
{% end %}
|
{% end %}
|
||||||
|
|
||||||
The Mermaid shortcode supports two parameters:
|
The Mermaid shortcode supports two parameters:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue