Skip to content

Commit cd389a3

Browse files
committed
style: improve MDX content formatting and JSX attribute consistency.
Signed-off-by: Lee Calcote <lee.calcote@layer5.io>
1 parent 6a7e8a7 commit cd389a3

20 files changed

Lines changed: 1135 additions & 584 deletions

File tree

content-learn/mastering-kubernetes-for-engineers/deploying-wordpress-and-mysql-with-persistent-volumes-with-meshery/sql/import-designs.mdx

Lines changed: 8 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,14 @@ import wp7 from "../../../../src/assets/images/learning-path/sql/wp7.png";
2424
- Select `Kubernetes Manifest` from the "Design Type" dropdown menu.
2525

2626
<br />
27-
<a href={wp1}>
28-
<img src={wp1} width="100%" align="center" />
29-
</a>
27+
<a href={wp1}><img src={wp1} width="100%" align="center" /></a>
3028

3129
_Figure: Import modal_
3230

3331
- Choose `File Upload` for the upload method, and select the file you just downloaded.
3432
- Then, click on `Import`.
3533
<br />
36-
<a href={wp2}>
37-
<img src={wp2} width="100%" align="center" />
38-
</a>
34+
<a href={wp2}><img src={wp2} width="100%" align="center" /></a>
3935

4036
_Figure: Import mysql-deployment_
4137

@@ -44,22 +40,18 @@ _Figure: Import modal_
4440
Clicking on the names of the designs on the `Designs` tab displays the visual representations of the various Kubernetes resources and their relationships on the canvas.
4541

4642
<br />
47-
<a href={wp3}>
48-
<img src={wp3} width="100%" align="center" />
49-
</a>
43+
<a href={wp3}><img src={wp3} width="100%" align="center" /></a>
5044

5145
_Figure: Imported designs on canvas_
5246

5347
4. Now, follow the same steps to import the `wordpress-deployment` file.
5448

5549
<br />
56-
<a href={wp4}>
57-
<img src={wp4} width="100%" align="center" />
58-
</a>
50+
<a href={wp4}><img src={wp4} width="100%" align="center" /></a>
5951

6052
_Figure: wordpress-deployment_
6153

62-
<h2 class="chapter-sub-heading">Merging the Designs</h2>
54+
<h2 className="chapter-sub-heading">Merging the Designs</h2>
6355

6456
Next, you will combine the WordPress and MySQL designs into a single design file. By merging these designs, you can manage and deploy both resources together.
6557

@@ -69,27 +61,21 @@ To merge the MySQL deployment design with the WordPress deployment design:
6961

7062
<br />
7163

72-
<a href={wp5}>
73-
<img src={wp5} width="100%" align="center" />
74-
</a>
64+
<a href={wp5}><img src={wp5} width="100%" align="center" /></a>
7565

7666
_Figure: drag and drop design_
7767

7868
2. This action will open a merge modal asking if you want to merge the design, Click on `Merge`.
7969

8070
<br />
81-
<a href={wp6}>
82-
<img src={wp6} width="100%" align="center" />
83-
</a>
71+
<a href={wp6}><img src={wp6} width="100%" align="center" /></a>
8472

8573
_Figure: merge modal_
8674

8775
3. Click on `Save As` and enter `wordpress-mysql-deployment` as the new file name.
8876

8977
<br />
90-
<a href={wp7}>
91-
<img src={wp7} width="100%" align="center" />
92-
</a>
78+
<a href={wp7}><img src={wp7} width="100%" align="center" /></a>
9379

9480
_Figure: save design_
9581

content-learn/mastering-service-meshes-for-developers/introduction-to-service-meshes/linkerd/getting-started.mdx

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ import InstallLinkerd from "../../../../src/assets/images/learn-layer5/linkerd/i
1313

1414
<ChapterStyle>
1515

16-
<h2 class="chapter-sub-heading">Setup Linkerd</h2>
16+
<h2 className="chapter-sub-heading">Setup Linkerd</h2>
1717

1818
Now that we have a Kubernetes cluster and Meshery, we are ready to download and deploy Linkerd resources.
1919

20-
<h2 class="chapter-sub-heading">Steps</h2>
20+
<h2 className="chapter-sub-heading">Steps</h2>
2121

2222
1. [Install Linkerd](#1)
2323
1. [Verify install](#2)
@@ -29,24 +29,20 @@ Now that we have a Kubernetes cluster and Meshery, we are ready to download and
2929

3030
Using Meshery, select `Linkerd` from the `Management` menu.
3131

32-
<a href={LinkerdAdapter}>
33-
<img src={LinkerdAdapter} />
34-
</a>
32+
<a href={LinkerdAdapter}><img src={LinkerdAdapter} /></a>
3533

3634
In the Linkerd management page:
3735

3836
1. Type `linkerd` into the namespace field.
3937
1. Click the (+) icon on the `Install` card and select `Latest Linkerd` to install the latest version of Linkerd.
4038

41-
<a href={InstallLinkerd}>
42-
<img src={InstallLinkerd} align="center" />
43-
</a>{" "}
39+
<a href={InstallLinkerd}><img src={InstallLinkerd} align="center" /></a>{" "}
4440

4541
<h3>Alternative: Manual Installation</h3>
4642

4743
Perform the below steps if the above steps doesn't work for you.
4844

49-
<h4 class="chapter-alt-heading">Download `linkerd` CLI</h4>
45+
<h4 className="chapter-alt-heading">Download `linkerd` CLI</h4>
5046

5147
On a \*nix system, you can setup linkerd by doing the following:
5248

@@ -77,7 +73,7 @@ We can use a new feature in linkerd to check if the cluster is ready for install
7773
linkerd check --pre
7874
```
7975

80-
<h4 class="chapter-alt-heading">Install Linkerd:</h4>
76+
<h4 className="chapter-alt-heading">Install Linkerd:</h4>
8177

8278
Deploy Linkerd custom resources:
8379

gatsby-config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,9 @@ module.exports = {
467467
resolve: "gatsby-plugin-mdx",
468468
options: {
469469
extensions: [".mdx", ".md"],
470+
mdxOptions: {
471+
remarkPlugins: [],
472+
},
470473
gatsbyRemarkPlugins: [],
471474
},
472475
},

0 commit comments

Comments
 (0)